-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating forms docs #355
base: main
Are you sure you want to change the base?
Updating forms docs #355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, just two minor suggestions
Add additional items to the top bar menu under the Add-on parent. | ||
|
||
```php | ||
add_filter('es_forms_admin_top_bar_menu_items', 'getTopBarMenuItems', 10, 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add_filter('es_forms_admin_top_bar_menu_items', 'getTopBarMenuItems', 10, 2); | |
\add_filter('es_forms_admin_top_bar_menu_items', 'getTopBarMenuItems', 10, 2); |
You don't need to provide order for all countries, only the ones you want to change the order and the rest will be displayed in the default order. | ||
|
||
```php | ||
add_filter('es_forms_block_country_custom_order', 'getBlockCountryCustomOrder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add_filter('es_forms_block_country_custom_order', 'getBlockCountryCustomOrder'); | |
\add_filter('es_forms_block_country_custom_order', 'getBlockCountryCustomOrder'); |
No description provided.