1. Home
  2. For Devs
  3. Filter
  4. Register Custom Admin Page Tab
  1. Home
  2. Plugins
  3. WP Webhooks
  4. For Devs
  5. Filter
  6. Register Custom Admin Page Tab

Register Custom Admin Page Tab

wpwhpro/admin/settings/menu_data

Description:
Use this filter to register/create your very own plugin page tab. This will be helpful if you are a plugin developer and you want to extend the plugin functionality by your custom logic.

Parameter Type Description
array() array An array of all registered tabs. The key is the slug and the value the title.

/**
* Filter the menu tab items. You can extend here your very own tabs
* as well.
* Our default endpoints are declared in
* core/includes/classes/class-wp-webhooks-pro-run.php
*/
$menu_endpoints = apply_filters( 'wpwhpro/admin/settings/menu_data', array() );

Updated on August 10, 2019

Was this article helpful?

Related Articles