get_plugin_page_hook

Definition:
function get_plugin_page_hook( $plugin_page, $parent_page ) {}

Parameters

  • $plugin_page
  • $parent_page

Source code

function get_plugin_page_hook( $plugin_page, $parent_page ) {

	$hook = get_plugin_page_hookname( $plugin_page, $parent_page );

	if ( has_action($hook) )

		return $hook;

	else

		return null;

}

1562

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: