You appear to be a bot. Output may be restricted
Description
Return the hook type for this hookA hook can either be an 'action' hook or a 'filter' hook Some people misuse filter hooks to perform actions
Usage
$string = oikho_query_hook_type( $post_id );
Parameters
- $post_id
- ( ID ) required – the post ID of the oik-hook post
Returns
string the hook type – 'action'|'filter'Source
File name: oik-shortcodes/shortcodes/oik-hook.phpLines:
1 to 4 of 4
function oikho_query_hook_type( $post_id ) { $type = get_post_meta( $post_id, "_oik_hook_type", true ); return( $type ); }View on GitHub