layers_before_single_title
The Layers layers before single title hook.
Description
do_action( 'layers_before_single_title' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'layers_before_single_title' );
- The following example is for adding a hook callback.
- // define the layers_before_single_title callback
- function action_layers_before_single_title( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'layers_before_single_title', 'action_layers_before_single_title', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'layers_before_single_title', 'action_layers_before_single_title', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /partials/content-single.php
- <?php do_action('layers_before_single_title'); ?>
- /partials/content-empty.php
- <?php do_action('layers_before_single_title'); ?>