Documentation
Adding Support for Additional Themes and Plugins
If you're developing your own theme or would just like to add support for a new plugin, you can easily filter Beaver Tunnels' list of actions.
We've also started a small list of code snippets to support additional themes and plugins.
add_filter( 'beaver_tunnels', 'custom_beaver_tunnels_actions' );
function custom_beaver_tunnels_actions( $actions = array() ) {
$actions[] = array(
'title' => __( 'My Custom Actions', 'your-textdomain' ),
'actions' => array(
'first_action',
'second_action',
'third_action',
)
);
return $actions;
}