The comments button and the share button are generated in two separate default actions, so you have to remove them both:
remove_action( 'embed_content_meta', 'print_embed_comments_button' );
remove_action( 'embed_content_meta', 'print_embed_sharing_button' );
Related Posts:
- Security when outputing wp_oembed_get code
- How to use get_media_embedded_in_content function
- Set first oembed in post to a global variable or function
- How to add new embed handler not supported by oembed?
- How can I grab the video id of youtube?
- WordPress converts media extention URL automatically to video player
- Setting youtube size in functions.php
- Combine embed_oembed_html and oembed_result
- WordPress functions.php conditional include another functions file
- Embed video from streamtape using direct link
- oembed facebook link?
- custom COOKIE on custom page
- Apply height and width for the_content() inside youtube video tag
- Would it be possible to disable embeds for specific user roles? If so, how?
- unregister_sidebar in child theme not working
- Print all inline styles to head
- Function to return custom post type titles from blog id 1
- Unregistering custom tinymce plugin?
- Trying to the deduce shortcode from a function
- Combining wp_current_user() and a variable
- Init hook for header send
- java script error Uncaught SyntaxError: Unexpected token ILLEGAL
- Gravity Forms After Submission – GFFormsModel::update_lead_field_value?
- How to display data from custom fields in my custom shortcode?
- Highlight only current on single pages
- Fatal error after changes to functions.php, even with original file
- Make WordPress search for only this tags or exclude certain tags from search [duplicate]
- A blank page is shown after I add a Function
- Override default password nag in WordPress
- Modify function Shortcode_atts
- Cant use php fopen() function in functions.php
- Allow tags and attributes in post and pages content
- Add gallery id to rel attribe of wp_get_attachment_link
- theme options not saving
- Conditionally write open graph meta property in header
- Pull random comment from specific post, display on homepage with shortcode
- Override parent theme function that is not hooked or in the functions.php file
- Set thumbnail from URL, by grabbing image in functions.php
- Syling Custom Fields echo’s from from functions.php
- Shortcode to output get_header not working
- admin-ajax.php nulls all php variables
- Pass jquery var to a function in functions.php
- create submenu page – error function not found or invalid function name
- How to Update User Meta Field other than from profile?
- Including one page with WordPress functions into another
- Dynamically adding Captions to images
- Dynamically Generating User Meta Field
- Retrieve array of attachment IDs attached to a given Post ID
- Get Value of Custom Field
- Dynamic Title for custom post types
- Optimizing multiple WP_querys into one call?
- add_theme_support not outputting thumbnails
- How does child theme functions.php work with parent theme functions.php? Is it like CSS? [duplicate]
- WP supersize not displaying when different languages flags are selected
- Show latest custom post types on dashboard
- restrict access to specific urls on a specific period of time
- How to get tags and categories?
- wp_list_pages change of children and anchor of parent
- Using conditionals, maybe from a DB, to register & enqueue files, for varying pages, in functions.php
- Use $_POST[‘value’] inside functions.php
- Change conditional tag in wordpress without editing the core files
- Admin Panel errors because of functions.php
- Function working in single.php but not working in custom template file
- Add function to add element on all page
- WordPress not performing direct update
- WordPress Translate Explaination
- child_of not working while searching
- How to request login for user but not for bots
- functions.php / replacing div’s with new ones?
- How accomplish modification the_content if home/start page?
- How to use WP_rewrite?
- Wp get archive only text not link
- Site is not updating because something is wrong with custom code. How to fix it?
- Changes doesn’t show up on blog
- Adding pagination to custom WordPress function
- using enqueue_script in a shortcode isn’t working
- Undo a function that is not (seemingly) hooked to an action?
- Can’t change excerpt length and more tag
- If no input don’t display?
- Adding result from PHP function into an input field
- Additional Sidebar
- Using array page name together with page id to deregister script
- Full size image option removing problem
- Function to get thumbnail img source
- How to add a class name to the ancestor of a post?
- How do I change the URL returned by next_posts_link()?
- get_the_title in edit post_link
- Limit length of headline in Editor
- How about many “require_once” will affect the page load speed? [closed]
- apply_filters to featured image
- Undefined offset: 2
- More link – not text
- Run function from parent on child site
- Search Woocommerce product titles only
- Need a functions that adds (adm)/(mod) if current user is admin/moderator right after their username
- Why does modifying my functions.php file always result in a server error
- Archive.php, and post_is_in_descendant_category
- Function Reference for custom link in Admin Menu Management Page
- Using Output from one Function and calling it into another
- How to add a class and title attribute to the link generated by next/previous post