post_embed_url

post_embed_url

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('post_embed_url') is found 1 times:

  • /wp-includes/embed.php line 429
    	 *
    	 * @param string  $embed_url The post embed URL.
    	 * @param WP_Post $post      The corresponding post object.
    	 */
    	return sanitize_url( apply_filters( 'post_embed_url', $embed_url, $post ) );
    }
    
    /**
     * Retrieves the oEmbed endpoint URL for a given permalink.
     *
     * Pass an empty string as the first argument to get the endpoint base URL.
    

See this hook used in plugins: