woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts
Justin Shreve f888079fe7 Add notices to return to task list on product and homepage tasks. (https://github.com/woocommerce/woocommerce-admin/pull/3061)
* Add notices to return to task list on product and homepage tasks.

* Handle PR feedback, simplifiy check.
2019-10-21 14:13:25 -04: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
README.md 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

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.

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' ) );