WC_AJAX::rated()
Triggered when clicking the rating footer.
Contents
Description Description
Source Source
File: includes/class-wc-ajax.php
2012 2013 2014 2015 2016 2017 2018 | public static function rated() { if ( ! current_user_can( 'manage_woocommerce' ) ) { wp_die( -1 ); } update_option( 'woocommerce_admin_footer_text_rated' , 1 ); wp_die(); } |