autoship_push_product_404_missing_variable_parent (action)

( src/products.php) Can be used to add customization when a product variation's parent product cannot be found it takes $product & the get_parent_id() method for the supplied product ($product->get_parent_id()) as its parameters.

Code

do_action( 'autoship_push_product_404_missing_variable_parent', $product, $product->get_parent_id() );

Still need help? Contact Us Contact Us