Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // execute on POST and GET
- if ( isset( $_REQUEST['action'] ) && ( 'webl_get_child' == $_REQUEST['action'] ) && ! empty( $_POST['product_id'] ) && is_numeric( $_POST['product_id'] ) ) {
- add_action( 'init', 'webl_get_child' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement