wp/wp-includes/class-wp-embed.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   161 						 *
   161 						 *
   162 						 * @since 2.9.0
   162 						 * @since 2.9.0
   163 						 *
   163 						 *
   164 						 * @see WP_Embed::shortcode()
   164 						 * @see WP_Embed::shortcode()
   165 						 *
   165 						 *
   166 						 * @param string|false $return The HTML result of the shortcode, or false on failure.
   166 						 * @param string $return The HTML result of the shortcode.
   167 						 * @param string       $url    The embed URL.
   167 						 * @param string $url    The embed URL.
   168 						 * @param array        $attr   An array of shortcode attributes.
   168 						 * @param array  $attr   An array of shortcode attributes.
   169 						 */
   169 						 */
   170 						return apply_filters( 'embed_handler_html', $return, $url, $attr );
   170 						return apply_filters( 'embed_handler_html', $return, $url, $attr );
   171 					}
   171 					}
   172 				}
   172 				}
   173 			}
   173 			}
   281 				 *
   281 				 *
   282 				 * @since 2.9.0
   282 				 * @since 2.9.0
   283 				 *
   283 				 *
   284 				 * @see WP_Embed::shortcode()
   284 				 * @see WP_Embed::shortcode()
   285 				 *
   285 				 *
   286 				 * @param string|false $cache   The cached HTML result, stored in post meta.
   286 				 * @param string $cache   The cached HTML result, stored in post meta.
   287 				 * @param string       $url     The attempted embed URL.
   287 				 * @param string $url     The attempted embed URL.
   288 				 * @param array        $attr    An array of shortcode attributes.
   288 				 * @param array  $attr    An array of shortcode attributes.
   289 				 * @param int          $post_id Post ID.
   289 				 * @param int    $post_id Post ID.
   290 				 */
   290 				 */
   291 				return apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id );
   291 				return apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id );
   292 			}
   292 			}
   293 		}
   293 		}
   294 
   294