use woocommerce help tip
This commit is contained in:
@@ -18,6 +18,9 @@ class Wiaas_Admin_Package_Pricing {
|
||||
add_action('woocommerce_product_options_general_product_data', array(__CLASS__, 'render_edit_prices_link'));
|
||||
|
||||
add_filter('woocommerce_bundle_price_html', array( __CLASS__, 'get_package_price_html' ), 10, 2);
|
||||
|
||||
add_filter('woocommerce_screen_ids', array(__CLASS__, 'add_package_pricing_page_to_woocommerce_screens'), 10, 1);
|
||||
|
||||
}
|
||||
|
||||
public static function get_package_price_html($price_html, $package) {
|
||||
@@ -116,6 +119,10 @@ class Wiaas_Admin_Package_Pricing {
|
||||
include 'views/html-package-pricing-page.php';
|
||||
}
|
||||
|
||||
public static function add_package_pricing_page_to_woocommerce_screens( $screens ){
|
||||
$screens[] = 'product_page_wiaas-package_price_editor';
|
||||
return $screens;
|
||||
}
|
||||
|
||||
// PRIVATE HELPERS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user