f888079fe7
* Add notices to return to task list on product and homepage tasks. * Handle PR feedback, simplifiy check. |
||
---|---|---|
.. | ||
onboarding-homepage-notice | ||
README.md |
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' ) );