/** * Return an instance of this class. * * @since 1.0.5 * * @return object A single instance of this class. */ public static function get_instance() { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }
</td> <td><?php echo $item->ID; ?> </td> <?php WCM_Table::table_variation_line($product_meta, $vars); ?> <?php do_action('stock_manager_table_variation_td', $vars->ID); ?> <?php WCM_Table::line_nonce_box($vars); ?> <?php WCM_Table::line_save_box($vars); ?> </tr> <?php } } ?> <?php } } ?> </table> <input type="submit" name="save-all" class="btn btn-danger" value="<?php _e('Save all', 'stock-manager');