Action hooks (developers)

Current hooks in wProject

wProject includes hooks that can be valuable for developers looking to extend the product. These hooks have self-explanatory names:

before_wp_head
after_wp_head
before_body_end
after_body_end
after_body_start
side_nav
before_side_nav
help_start

How to use a hook

In this example, “Hello World!” will be displayed before the side navigation.

/* Header */
function my_custom_function() { ?>
Hello world!
<?php }
add_action( 'before_side_nav', 'my_custom_function' );

For more advanced usage and examples, you can refer to the official WordPress developer documentation.