Custom Hooks are functions which we have added into the template files to help you add content in key areas throughout Peadig without having to delve too deep into the code.

Populating a custom hook is simple and all we need to do is create a do_action hook and pass the hook name and a function with the content. That looks like this.

function my_function(){
     echo "Hello World!";

add_action('e404_after_recent_posts', 'my_function');

In this example it will simple print Hello world straight after the Recent posts widget.

As an admin of a website, user level 10, you can view all of the Custom Hooks as HTML comments.  You can choose an to turn this on and off in the Peadig options.

Please login to see all the shortcodes