wdev-register-plugin

Getdrip Plugin param.

Description

do_action( 'wdev-register-plugin', $plugin_basename, (string) $membership_2, (string) $plugins_membership, $var, (string) $membership ); 

Parameters (5)

0. $plugin_basename
The plugin basename.
1. $membership_2 (string) => 'Membership 2'
The membership 2.
2. $plugins_membership (string) => '/plugins/membership/'
The plugins membership.
3. $var
__( 'Get Members!', 'membership2' )
4. $membership (string) => 'Membership'
The membership.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wdev-register-plugin', $plugin_basename, $membership_2, $plugins_membership, $var, $membership ); 
The following example is for adding a hook callback.
  1. // define the wdev-register-plugin callback 
  2. function action_wdev_register_plugin( $plugin_basename, $membership_2, $plugins_membership, $var, $membership ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wdev-register-plugin', 'action_wdev_register_plugin', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'wdev-register-plugin', 'action_wdev_register_plugin', 10, 5 ); 

Defined (1)

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

/membership.php  
  1. do_action(