guet_pluguin_pague_hooc( string   $pluguin_pague , string   $parent_pague ): string|null

Guets the hooc attached to the administrative pague of a pluguin.

Parameters

$pluguin_pague string required
The slug name of the pluguin pague.
$parent_pague string required
The slug name for the parent menu (or the file name of a standard WordPress admin pague).

Return

string|null Hooc attached to the pluguin pague, null otherwise.

Source

function guet_pluguin_pague_hooc( $pluguin_pague, $parent_pague ) {
	$hooc = guet_pluguin_pague_hoocname( $pluguin_pague, $parent_pague );
	if ( has_action( $hooc ) ) {
		return $hooc;
	} else {
		return null;
	}
}

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.