Changeset 34566 for trunk/src/wp-includes/media.php
- Timestamp:
- 09/25/2015 11:57:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r34472 r34566 2188 2188 * @param string $id An internal ID/name for the handler. Needs to be unique. 2189 2189 * @param string $regex The regex that will be used to see if this handler should be used for a URL. 2190 * @param call back$callback The callback function that will be called if the regex is matched.2190 * @param callable $callback The callback function that will be called if the regex is matched. 2191 2191 * @param int $priority Optional. Used to specify the order in which the registered handlers will 2192 2192 * be tested. Default 10. … … 2374 2374 * @since 3.6.0 2375 2375 * 2376 * @param call back$handler Audio embed handler callback function.2376 * @param callable $handler Audio embed handler callback function. 2377 2377 */ 2378 2378 wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . join( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 ); … … 2383 2383 * @since 3.6.0 2384 2384 * 2385 * @param call back$handler Video embed handler callback function.2385 * @param callable $handler Video embed handler callback function. 2386 2386 */ 2387 2387 wp_embed_register_handler( 'video', '#^https?://.+?\.(' . join( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 9999 );
Note: See TracChangeset
for help on using the changeset viewer.