wp_import_insert_term

The WordPress Importer wp import insert term hook.

Description

do_action( 'wp_import_insert_term', (unknown) $t, (unknown) $term, (unknown) $post_id, (unknown) $post ); 

Parameters (4)

0. $t (unknown)
The t.
1. $term (unknown)
The term.
2. $post_id (unknown)
The post id.
3. $post (unknown)
The post.

Usage

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

Defined (1)

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

/wordpress-importer.php  
  1. do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );