WC_REST_Product_Attributes_V1_Controller::flush_rewrite_rules() protected WC 3.0.0
Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.╳
Schedule to flush rewrite rules.
{} It's a method of the class: WC_REST_Product_Attributes_V1_Controller{}
No Hooks.
Return
Null. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->flush_rewrite_rules();
Changelog
Since 3.0.0 | Introduced. | |
Deprecated | 3.2.0 |
Code of WC_REST_Product_Attributes_V1_Controller::flush_rewrite_rules() WC REST Product Attributes V1 Controller::flush rewrite rules WC 5.0.0
protected function flush_rewrite_rules() {
wp_schedule_single_event( time(), 'woocommerce_flush_rewrite_rules' );
}