<action>
The WordPress Core action hook.
Description
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.
- // run the action
- do_action( '{$action}', $create_function, $prio );
- The following example is for adding a hook callback.
- // define the <action> callback
- function action_action( $create_function, $prio ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "{$action}", 'action_action', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "{$action}", 'action_action', 10, 2 );
Defined (3)
The action is defined in the following location(s).
- /nextgen-facebook.php
- add_action( $action, create_function( '',
- add_action( $action, array( &$this, 'show_debug' ), $prio + 1 );
- add_action( $action, array( &$this, 'show_config' ), $prio );