I'm trying to remove the entire embed_footer from WordPress embedded posts.
By adding the following code in the
functions.php, I was able to remove the site title and comments icon. But still, the share icon is there.
add_filter('embed_site_title_html','__return_false'); remove_action( 'embed_content_meta', 'print_embed_comments_button' );
Is there a way to remove the entire
embed_footer? Or can I remove the share button also like the above code?