Changeset 33470 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 07/29/2015 12:01:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r33469 r33470 130 130 */ 131 131 public function shortcode( $attr, $url = '' ) { 132 // This filter can be used to output custom HTML instead of allowing oEmbed to run.133 $custom = apply_filters( 'wp_embed_shortcode_custom', false, $attr, $url );134 if ( false !== $custom ) {135 return $custom;136 }137 138 132 $post = get_post(); 139 133
Note: See TracChangeset
for help on using the changeset viewer.