Skip to content

Commit 2543432

Browse files
committed
Update readme with %%remain%%
1 parent fa43826 commit 2543432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ function my_acf_counter_filter($display) {
5757
return $display;
5858
}
5959
```
60-
In the example string above `%%len%%` represents where you want the current character count shown and `%%max%%`
61-
represents where you want the fields maximum length displayed. You can generate this string any way you want.
60+
In the example string above `%%len%%` represents where you want the current character count shown, `%%max%%`
61+
represents where you want the fields maximum length displayed and %%remain%% represents where you want the remaining character length displayed. You can generate this string any way you want.
6262
For example, you can translate it or use `sprintf()`, as long as it contains the two markers where the values
6363
should be shown. If you do not include these markers then they simply will not be shown. It's up to you to
6464
make sure they are present.

0 commit comments

Comments
 (0)