woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts
Joshua T Flowers 642b17c1aa Onboarding: Update return to task list notices (https://github.com/woocommerce/woocommerce-admin/pull/3192)
* Use core/notices for product creation notices

* Only show task list return notice on first save of taxes

* Update tax completion notice

* Check if tax task is complete before loading script
2019-11-12 09:17:36 +08:00
..
onboarding-homepage-notice Add notices to return to task list on product and homepage tasks. (https://github.com/woocommerce/woocommerce-admin/pull/3061) 2019-10-21 14:13:25 -04:00
onboarding-product-notice Onboarding: Update return to task list notices (https://github.com/woocommerce/woocommerce-admin/pull/3192) 2019-11-12 09:17:36 +08:00
onboarding-tax-notice Onboarding: Update return to task list notices (https://github.com/woocommerce/woocommerce-admin/pull/3192) 2019-11-12 09:17:36 +08:00
README.md Onboarding: Add return to task list after saving taxes (https://github.com/woocommerce/woocommerce-admin/pull/3170) 2019-11-07 08:17:46 +08:00

README.md

Scripts located in this directory are meant to be loaded on wp-admin pages outside the context of WooCommerce Admin, such as the post editor. Adding the script name to wpAdminScripts in the Webpack config will automatically build these scripts.

Scripts must be manually enqueued with any neccessary dependencies. For example, onboarding-homepage-notice uses the WooCommerce navigation package:

wp_enqueue_script( 'onboarding-homepage-notice', Loader::get_url( 'wp-scripts/onboarding-homepage-notice.js' ), array( 'wc-navigation' ) );