Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
add_filter( 'embed_site_title_html', 'baw_embed_site_title' );
function baw_embed_site_title( $title ) {
return '<a href="http://wpsolo.fr" target="_top"><img src="/wp-content/uploads/2011/07/iMovie-Logo.png" width="32" height="32" alt="" class="wp-embed-site-icon"><span>MyMovies</span></a>';
}
add_action( 'embed_content', 'baw_embed_content' );
function baw_embed_content() {
echo '<i>Rating</i>: ' . str_repeat( '&bigstar;', 5 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment