Skip to content

Updating forms docs#355

Closed
iruzevic wants to merge 8 commits intomainfrom
feature/forms-docs
Closed

Updating forms docs#355
iruzevic wants to merge 8 commits intomainfrom
feature/forms-docs

Conversation

@iruzevic
Copy link
Copy Markdown
Member

No description provided.

@iruzevic iruzevic marked this pull request as draft January 23, 2025 15:42
@iruzevic iruzevic self-assigned this Jan 23, 2025
@iruzevic iruzevic requested a review from a team January 27, 2025 08:44
@iruzevic iruzevic marked this pull request as ready for review January 27, 2025 08:44
Comment thread website/forms/javascript/events/how-to-use.md Outdated
dadadavorin
dadadavorin previously approved these changes Jan 28, 2025
Copy link
Copy Markdown
Contributor

@piqusy piqusy left a 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);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
add_filter('es_forms_block_country_custom_order', 'getBlockCountryCustomOrder');
\add_filter('es_forms_block_country_custom_order', 'getBlockCountryCustomOrder');

@dingo-d
Copy link
Copy Markdown
Contributor

dingo-d commented Mar 25, 2026

Any news on merging this? Or updating?

@iruzevic
Copy link
Copy Markdown
Member Author

it will be done in the next 2 weeks

@iruzevic iruzevic closed this Apr 2, 2026
@iruzevic iruzevic deleted the feature/forms-docs branch April 2, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants