Try this:
if (is_page(’43’)){
remove_action (‘woocommerce_after_shop_loop_item’, array (‘WCV_Vendor_Shop’, ‘template_loop_sold_by’), 9, 2);}
Related Posts:
- How to set custom cookies before output
- Find variables available at a given hook
- Why do filters/actions require an argument count?
- How to add Shortcode (font awesome) in widget title?
- How to use return in my custom function instead of echo
- add_action shortcut?
- Is it acceptable to treat a filter like an action?
- Add a specific part of current category page url to shortcode
- Contact Fom 7 – how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control?
- Override a function defined in wp-includes/comment-template.php
- Action Hook Inside WordPress Plugin Shortcode
- Dynamically adding filters
- How to Create custom block for displaying information in content section which act like shortcode
- Shortcodes not processing inside post content
- Reload page with a different shortcode when a user selects from a dropdown
- Add two or multiple functions in WordPress Post or Page
- How to add custom checkout field in user details mail template
- How to change wp-admin and wp-login urls
- Is there a hook that I can use when a fatal error occurs?
- Show post in elementor based on views and specific category with query id feature in elementor
- Showing a different gallery in a seperate post
- How to display posts by current user in a drop down
- Create own WordPress shortcode gallery
- add element with add_action to posts from a specific category ID
- How can I remove a function that has been added to wordpress with add_filter?
- How to control WordPress image metadata (using Imagick)?
- Get value from shortcode to do something
- Edit incorrect password message WordPress
- How do I add custom bulk actions to multiple custom post types?
- Add data attribute to each li in menu
- Show prices with tax in Woocommerce Mini Cart [closed]
- Ajax category filtering products default show all
- How to exclude category ID from Looper in WordPress
- Shortcodes — Using add_action, add_filter in the shortcode
- How to display data from custom table in wordpress phpmyadmin
- Calculating a large number of MYSQL queries as customshort codes, slow
- Why does my callback function not work with this custom filter hook?
- Removing “wpautop” (auto tags) only on certain pages?
- WordPress Shortcodes.. printf is outputting a random number… Can’t figure out WHY?
- Trying to place a custom field after the total section in the checkout page in woocommerce
- Colon is Missing In My Website Url in WordPress
- Add filter when image is uploaded?
- Remove the first 5 characters of the_title and orderby that
- Remove a div from RSS feed
- Print last modified date only on posts
- Set meta field to publish date + 2 weeks
- How to add an arrow to menu items has submenus
- WordPress Gravatar filter is removing my custom attributes
- Generating an nonce for Content Security Policy and all scripts – How to make it match/persist for each page load?
- Custom shortcode outputs plain text instead of HTML at top of post
- Adding widgets to my plugin page instead of WordPress dashboard
- How to use wp_add_inline_style for custom CSS added via shortcode?
- Pass php dynamic variable to shortcode
- How can I dynamically update the class in my shortcode?
- Creating own shortcode – echoeing php variable based on JS variable
- Unique icons next to each WordPress menu item
- action theme mailchimp subscriber fields
- How to pass variables to custom filter from multiple functions
- Adding function to Genesis genesis_header [closed]
- How create a Shortcode with hover and complex options
- Remove from shortcode
- Modify custom field input data before creating a new post
- Displaying recent posts on static page with template-part via shortcode
- wordpress 4.4 self hosted video (html5) doesn’t show
- do_shortcode with custom field
- Change tinyMCE editor to allow marked content when pasting from Word
- How to Reference/Echo Variable from Another PHP Function
- Remove echo from shortcode
- Replace shortcode in substring
- Problem with login form
- Shortcode to show the code
- Shortcode returns values in the wrong order
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- Error call_user_func_array() expects parameter 1 to be a valid callback when using image_size_names_choose
- jQuery code not working when included in functions.php
- Get URL from shortcode tag
- Embedding PHP in shortcode $content
- Alter required message using comment form api
- How to debug this search & replace strings snippet?
- add_action taking an array with the 2nd argument?
- Shortcode with PHP issue “Undefined index”
- Hide Featured Image Meta Box on Editor Screen
- Add item to top of menu using a filter in functions.php
- Should `wp_login` be used since it’s deprecated?
- Excecuting php function in shortcode
- Only first shortcode gets executed
- Multiple do_shortcode in page template
- Add filter multiple times using only one master function
- How to edit php code in WordPress Post file?
- How to show a users bio on a page
- Change page title from page using php via php executed from page/post itself
- How to make modifications only to certain elements of an HTML string on the server-side?
- Returning data instead of echoing/printing
- echo something inside a shortcode
- Nested “do” and “add” Actions is possible?
- displaying content that includes shortcodes within an echo
- List taxonomy term slugs within shortcode (do_shortcode)
- Shortcode from a function not working
- Display Data in Table from External Database in WP using Shortcodes