wp_terms_checklist_args

wp_terms_checklist_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('wp_terms_checklist_args') is found 1 times:

  • /wp-admin/includes/template.php line 102
    	 *
    	 * @param array|string $args    An array or string of arguments.
    	 * @param int          $post_id The post ID.
    	 */
    	$params = apply_filters( 'wp_terms_checklist_args', $args, $post_id );
    
    	$parsed_args = wp_parse_args( $params, $defaults );
    
    	if ( empty( $parsed_args['walker'] ) || ! ( $parsed_args['walker'] instanceof Walker ) ) {
    		$walker = new Walker_Category_Checklist();
    	} else {
    

See this hook used in plugins: