rest_{$this->taxonomy}_collection_params

rest_{$this->taxonomy}_collection_params

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

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 1193
    		 *
    		 * @param array       $query_params JSON Schema-formatted collection parameters.
    		 * @param WP_Taxonomy $taxonomy     Taxonomy object.
    		 */
    		return apply_filters( "rest_{$this->taxonomy}_collection_params", $query_params, $taxonomy );
    	}
    
    	/**
    	 * Checks that the taxonomy is valid.
    	 *
    	 * @since 4.7.0