Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do_action( "create_term", $term_id, $tt_id, $taxonomy );
- do_action( "created_term", $term_id, $tt_id, $taxonomy );
- do_action( "edited_term", $term_id, $tt_id, $taxonomy );
- do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term );
- do_action( "create_$taxonomy", $term_id, $tt_id );
- do_action( "created_$taxonomy", $term_id, $tt_id );
- do_action( "edited_$taxonomy", $term_id, $tt_id );
- do_action( "delete_$taxonomy", $term, $tt_id, $deleted_term );
- function wpse_created_term( $term_id, $tt_id, $taxonomy ) {
- }
- function wpse_edited_term( $term_id, $tt_id, $taxonomy ) {
- }
- function wpse_delete_term( $term_id, $tt_id, $taxonomy ) {
- }
- add_action( 'created_term', 'wpse_created_term', 10, 3 );
- add_action( 'edited_term', 'wpse_edited_term', 10, 3 );
- add_action( 'delete_term', 'wpse_delete_term', 10, 3 );
Advertisement
Add Comment
Please, Sign In to add comment