rest_pre_insert_{$this->taxonomy}

rest_pre_insert_{$this->taxonomy}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('rest_pre_insert_{$this->taxonomy}') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 859
    		 *
    		 * @param object          $prepared_term Term object.
    		 * @param WP_REST_Request $request       Request object.
    		 */
    		return apply_filters( "rest_pre_insert_{$this->taxonomy}", $prepared_term, $request );
    	}
    
    	/**
    	 * Prepares a single term output for response.
    	 *
    	 * @since 4.7.0