Changeset 46661 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 11/05/2019 09:25:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r45590 r46661 174 174 if ( false !== $return ) { 175 175 /** 176 * Filters the returned embed handler.176 * Filters the returned embed HTML. 177 177 * 178 178 * @since 2.9.0 … … 180 180 * @see WP_Embed::shortcode() 181 181 * 182 * @param mixed $return The shortcode callback function to call.183 * @param string $url The attemptedembed URL.184 * @param array $attr An array of shortcode attributes.182 * @param string|false $return The HTML result of the shortcode, or false on failure. 183 * @param string $url The embed URL. 184 * @param array $attr An array of shortcode attributes. 185 185 */ 186 186 return apply_filters( 'embed_handler_html', $return, $url, $attr ); … … 249 249 * @see WP_Embed::shortcode() 250 250 * 251 * @param mixed$cache The cached HTML result, stored in post meta.252 * @param string $url The attempted embed URL.253 * @param array $attr An array of shortcode attributes.254 * @param int $post_ID Post ID.251 * @param string|false $cache The cached HTML result, stored in post meta. 252 * @param string $url The attempted embed URL. 253 * @param array $attr An array of shortcode attributes. 254 * @param int $post_ID Post ID. 255 255 */ 256 256 return apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_ID );
Note: See TracChangeset
for help on using the changeset viewer.