New filter hook
-
Hi,
Can you, please, add this must have filter and hook to plugin:
in public function maintenance() before wp_die()
if ( apply_filters( 'ljmm_is_custom_template', false ) && has_action( 'ljmm_load_custom_template' ) ) { do_action( 'ljmm_load_custom_template' ); die(); }
…
than you can use custom template file or html codeadd_filter( 'ljmm_is_custom_template', '__return_true' ); add_action( 'ljmm_load_custom_template', function() { //require_once template or echo some content });
I am already using it)
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘New filter hook’ is closed to new replies.