ms_rule_more_model_show_moretag_protection

The WordPress Core ms rule more model show moretag protection hook.

Description

apply_filters( 'ms_rule_more_model_show_moretag_protection', (unknown) $msg, (unknown) $more_tag_link, (unknown) $more_tag, (unknown) $instance ); 

Parameters (4)

0. $msg (unknown)
The msg.
1. $more_tag_link (unknown)
The more tag link.
2. $more_tag (unknown)
The more tag.
3. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $msg = apply_filters( 'ms_rule_more_model_show_moretag_protection', $msg, $more_tag_link, $more_tag, $instance ); 
  2.  
  3. if ( !empty( $msg ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the ms_rule_more_model_show_moretag_protection callback 
  2. function filter_ms_rule_more_model_show_moretag_protection( $msg, $more_tag_link, $more_tag, $instance ) { 
  3. // make filter magic happen here... 
  4. return $msg
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'ms_rule_more_model_show_moretag_protection', 'filter_ms_rule_more_model_show_moretag_protection', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'ms_rule_more_model_show_moretag_protection', 'filter_ms_rule_more_model_show_moretag_protection', 10, 4 ); 

Defined (1)

The filter is defined in the following location(s).

/app/rule/content/class-ms-rule-content-model.php  
  1. return apply_filters(