wphooks.info - post_embed_url

post_embed_url

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
	}

	/**
	 * Filters the URL to embed a specific post.
	 *
	 * @since 4.4.0
	 *
	 * @param string  $embed_url The post embed URL.
	 * @param WP_Post $post      The corresponding post object.
	 */
	return esc_url_raw( 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.
 *
 * @since 4.4.0
 *