WordPress action hook
berocket_copy_from_custom_post
Fired by 21 WordPress plugins, running on 109K+ sites between them.
How to use berocket_copy_from_custom_post
It's an action: your callback runs at that point and receives 3 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'berocket_copy_from_custom_post', function( $post_name, $post_id, $post ) {
// Your code runs here.
}, 10, 3 );Argument names come from Advanced AJAX Product Filters's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
21 plugins that fire berocket_copy_from_custom_post
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Advanced AJAX Product Filters50,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Min and Max Quantity for WooCommerce20,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Load More Products for WooCommerce10,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Advanced Product Labels for WooCommerce10,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Brands for WooCommerce5,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Product Watermark for WooCommerce2,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Grid/List View for WooCommerce2,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Cart Notices for WooCommerce2,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Product Tabs Manager for WooCommerce1,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Terms and Conditions Popup for WooCommerce1,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Sales Report for WooCommerce1,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Products Compare for WooCommerce1,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Pagination Styler for WooCommerce1,000+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Sequential Order Numbers for WooCommerce900+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Products Suggestions for WooCommerce600+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Force Sell for WooCommerce600+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Currency Exchange for WooCommerce500+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Wishlist and Waitlist for WooCommerce100+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Product of the Day for WooCommerce40+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Product Preview for WooCommerce40+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379 -
Splash Popup for WooCommerce30+ installs
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post )berocket/includes/custom_post.php:379
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.