Action to load stuffs into memory for use

This commit is contained in:
Shiva Poudel 2018-02-06 01:11:38 +05:45
parent 63f95a4498
commit 29ce5bf3c3
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ class WC_Admin_Menus {
if ( ! empty( $_GET['wc_message'] ) ) { // WPCS: input var okay, CSRF ok. if ( ! empty( $_GET['wc_message'] ) ) { // WPCS: input var okay, CSRF ok.
WC_Admin_Settings::add_message( wp_kses_post( wp_unslash( $_GET['wc_message'] ) ) ); // WPCS: input var okay, CSRF ok. WC_Admin_Settings::add_message( wp_kses_post( wp_unslash( $_GET['wc_message'] ) ) ); // WPCS: input var okay, CSRF ok.
} }
do_action( 'woocommerce_settings_page_init' );
} }
/** /**