Admin Area Hooks

Filters and actions to adjust the WordPress admin area for Sitewide Sales.

Filter Hooks

apply_filters( 'swsales_license_check_key_timeout', 5 );
apply_filters( 'swsales_get_update_timeout', 5 );

Action Hooks

do_action( 'swsales_about_text_bottom' );

About Actions and Filters in Sitewide Sales

Hooks allow you to extend Sitewide Sales without editing any core plugin files. You can use a hook to program custom code that interacts with or modifies code in our plugin, other plugins, your theme, and even WordPress itself.

There are two kinds of hooks: actions and filters.

  • Action hooks allow you to run new custom code at pre-defined locations.
  • Filter hooks allow you change or extend existing code by modifying the data and returning it back to the software.

Click here to browse the full database of action and filter hooks available in Sitewide Sales. For help extending core WordPress, refer to the WordPress Developer Handbook’s documentation on Filters and Actions.