* @uses get_post_meta()
* @uses update_post_meta()
*
- * @param array $attr Shortcode attributes.
+ * @param array $attr {
+ * Shortcode attributes. Optional.
+ *
+ * @type int $width Width of the embed in pixels.
+ * @type int $height Height of the embed in pixels.
+ * }
* @param string $url The URL attempting to be embedded.
* @return string The embed HTML on success, otherwise the original URL.
*/
*
* @since 2.9.0
*
+ * @see WP_Embed::shortcode()
+ *
* @param mixed $return The shortcode callback function to call.
* @param string $url The attempted embed URL.
* @param array $attr An array of shortcode attributes.
*
* @since 2.9.0
*
+ * @see WP_Embed::shortcode()
+ *
* @param mixed $cache The cached HTML result, stored in post meta.
* @param string $url The attempted embed URL.
* @param array $attr An array of shortcode attributes.
/**
* Filter whether to inspect the given URL for discoverable <link> tags.
*
+ * @since 2.9.0
+ *
* @see WP_oEmbed::discover()
*
* @param bool false Whether to enable <link> tag discovery. Default false.