embed_defaults

embed_defaults

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('embed_defaults') is found 1 times:

  • /wp-includes/embed.php line 91
    	 *     @type int $1 The embed height.
    	 * }
    	 * @param string $url  The URL that should be embedded.
    	 */
    	return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url );
    }
    
    /**
     * Attempts to fetch the embed HTML for a provided URL using oEmbed.
     *
     * @since 2.9.0