<action>

The WordPress Core action hook.

Description

add_action( '<action>', (unknown) $create_function, (unknown) $prio ); 

Parameters (2)

0. $create_function (unknown) => create_function( '', 'echo "\n";' )
The create function.
1. $prio (unknown)
The prio.

Usage

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

Defined (3)

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

/nextgen-facebook.php  
  1. add_action( $action, create_function( '', 
  1. add_action( $action, array( &$this, 'show_debug' ), $prio + 1 ); 
  1. add_action( $action, array( &$this, 'show_config' ), $prio );