wp_session_commit
The Ninja Forms wp session commit hook.
Description
do_action( 'wp_session_commit' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_session_commit' );
- The following example is for adding a hook callback.
- // define the wp_session_commit callback
- function action_wp_session_commit( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_session_commit', 'action_wp_session_commit', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_session_commit', 'action_wp_session_commit', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /includes/Libraries/Session/wp-session.php
- do_action( 'wp_session_commit' );
- /deprecated/includes/libraries/wp-session.php
- do_action( 'wp_session_commit' );