Skip to main content
These filters allow you to customize the WordPress admin experience for SureCart.

surecart_menu_priority

Filter the admin menu position. Lower numbers appear higher in the menu.

Admin Bar Filters

surecart_show_admin_bar_visit_store

Control whether “Visit Store” appears in the admin bar.

surecart_show_admin_bar_new_content

Control whether “New” content menu appears in admin bar.

surecart/help_widget/show

Control when the help widget is shown.

surecart/help_widget/loaded

Fired when the help widget is loaded in the admin. Use this to inject custom scripts or modify widget behavior.

Sync Filters

surecart_get_{post_type}_post

Filter the synced post lookup result. Replace {post_type} with the actual post type (e.g., sc_product).

surecart_excluded_post_meta_keys

Filter meta keys excluded from sync.

Use Cases

Hide Admin Features for Shop Managers

Simplify Admin Interface

Customize Menu Position

Templates

Hook into admin and template actions.

Requests

Modify API requests and responses.