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