wcpgsk_qty_panel_settings

$minqty = get_post_meta( $post->ID, '_wcpgsk_minqty', true ); $maxqty = get_post_meta( $post->ID, '_wcpgsk_maxqty', true ); $stepqty = get_post_meta( $post->ID, '_wcpgsk_stepqty', true ); $minqty = isset($minqty) && !empty($minqty) ? $minqty : 0; $maxqty = isset($maxqty) && !empty($maxqty) ? $maxqty : 0; $stepqty = isset($stepqty) && !empty($stepqty) ? $stepqty : 0;.

Description

do_action( 'wcpgsk_qty_panel_settings' ); 

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wcpgsk_qty_panel_settings' ); 
The following example is for adding a hook callback.
  1. // define the wcpgsk_qty_panel_settings callback 
  2. function action_wcpgsk_qty_panel_settings( ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wcpgsk_qty_panel_settings', 'action_wcpgsk_qty_panel_settings', 10, 0 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'wcpgsk_qty_panel_settings', 'action_wcpgsk_qty_panel_settings', 10, 0 ); 

Defined (1)

The action is defined in the following location(s).

/classes/woocommerce-poor-guys-swiss-knife.php  
  1. do_action( 'wcpgsk_qty_panel_settings' );