WC_Admin_Pointers::create_variable_product_tutorial
Pointers for creating a variable product.
Method of the class: WC_Admin_Pointers{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Admin_Pointers = new WC_Admin_Pointers(); $WC_Admin_Pointers->create_variable_product_tutorial();
WC_Admin_Pointers::create_variable_product_tutorial() WC Admin Pointers::create variable product tutorial code WC 10.3.6
public function create_variable_product_tutorial() {
if ( ! current_user_can( 'manage_options' ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return;
}
WCAdminAssets::register_script( 'wp-admin-scripts', 'variable-product-tour', true );
}