ms_view_membership_protectedcontent_footer

The Membership 2 ms view membership protectedcontent footer hook.

Description

do_action( 'ms_view_membership_protectedcontent_footer', $ms_rule_url_rule_id, (unknown) $instance ); 

Parameters (2)

0. $ms_rule_url_rule_id
The ms rule url rule id.
1. $instance (unknown)
The this.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'ms_view_membership_protectedcontent_footer', $ms_rule_url_rule_id, $instance ); 
The following example is for adding a hook callback.
  1. // define the ms_view_membership_protectedcontent_footer callback 
  2. function action_ms_view_membership_protectedcontent_footer( $ms_rule_url_rule_id, $instance ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'ms_view_membership_protectedcontent_footer', 'action_ms_view_membership_protectedcontent_footer', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'ms_view_membership_protectedcontent_footer', 'action_ms_view_membership_protectedcontent_footer', 10, 2 ); 

Defined (12)

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

/app/rule/url/class-ms-rule-url-view.php  
  1. do_action( 
/app/rule/special/class-ms-rule-special-view.php  
  1. do_action( 
/app/rule/shortcode/class-ms-rule-shortcode-view.php  
  1. do_action( 
/app/rule/replacemenu/class-ms-rule-replacemenu-view.php  
  1. do_action( 
/app/rule/replacelocation/class-ms-rule-replacelocation-view.php  
  1. do_action( 
/app/rule/post/class-ms-rule-post-view.php  
  1. do_action( 
/app/rule/page/class-ms-rule-page-view.php  
  1. do_action( 
/app/rule/menuitem/class-ms-rule-menuitem-view.php  
  1. do_action( 
/app/rule/memberroles/class-ms-rule-memberroles-view.php  
  1. do_action( 
/app/rule/membercaps/class-ms-rule-membercaps-view.php  
  1. do_action( 
/app/rule/content/class-ms-rule-content-view.php  
  1. do_action( 
/app/rule/category/class-ms-rule-category-view.php  
  1. do_action(