1
vote
Custom Sections => Custom Hooks
Hey there,
It would be great to have in the Custom Section the possibility to add custom hooks besides all the default hooks that are already in it.
Best
Leave a Reply
2 Comments
-
Will be added with the next release! 🙂
Example:
function prefix_my_custom_hooks( $hooks ) { $custom_hooks = array( 'Custom Hooks' => array( 'prefix_custom_hook_1', 'prefix_custom_hook_2', ), ); $hooks = array_merge( $hooks, $custom_hooks ); return $hooks; } add_filter( 'wpbf_custom_section_hooks', 'prefix_my_custom_hooks' );
-
Lovely 🙂
I’m looking forward for it!
Comments are closed.
2 Comments
Will be added with the next release! 🙂
Example:
Lovely 🙂
I’m looking forward for it!