wp_get_object_terms_args

wp_get_object_terms_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_get_object_terms_args') is found 1 times:

  • /wp-includes/taxonomy.php line 2290
    	 *                             See {@see wp_get_object_terms()} for details.
    	 * @param int[]    $object_ids Array of object IDs.
    	 * @param string[] $taxonomies Array of taxonomy names to retrieve terms from.
    	 */
    	$args = apply_filters( 'wp_get_object_terms_args', $args, $object_ids, $taxonomies );
    
    	/*
    	 * When one or more queried taxonomies is registered with an 'args' array,
    	 * those params override the `$args` passed to this function.
    	 */
    	$terms = array();