wpr-wcpbc-price-cachescript IS enqueued on pricing page (AC2 baseline)- Prices display: €299, €119, €30
wpr-wcpbc-price-cachescript is NOT present in loaded scripts
wpr-wcpbc-price-cache script IS enqueued on pricing page (AC2 baseline)wpr-wcpbc-price-cache script is NOT present in loaded scripts
| // ==UserScript== | |
| // @name YouTubeMusicScript | |
| // @description YouTubeMusicScript | |
| // @include http://music.youtube.com/* | |
| // @autho Nicolas Mollet | |
| // @version 1.2 | |
| // ==/UserScript== | |
| // Observe play-button clicks. |
| <?php | |
| /** | |
| * Catch plugin deactivation and write log of cause of deactivation (manual or error). | |
| * | |
| * Examples: | |
| * [29-Sep-2023 07:40:40 UTC] Plugin antispam-bee/antispam_bee.php was disabled manually. | |
| * [29-Sep-2023 07:47:29 UTC] Plugin antispam-bee/antispam_bee.php was disabled because Plugin file does not exist. | |
| * | |
| * @param string $plugin Path to the plugin file relative to the plugins directory. |
| <?php | |
| /** | |
| * WooCommerce: override mail params | |
| * @param $params | |
| * @param WC_Email $email | |
| * | |
| * @return mixed | |
| */ | |
| public function custom_woocommerce_mail_callback_params( $params, \WC_Email $email ){ |
| # Exclude product variations since they don't include the "total_sales" meta key filled by WooCommerce | |
| SELECT ID, post_title, post_status, post_modified, meta_value | |
| FROM wp_posts | |
| INNER JOIN wp_postmeta ON wp_postmeta.post_id=wp_posts.ID | |
| AND wp_postmeta.meta_key='total_sales' | |
| WHERE post_type='product' | |
| ORDER BY CAST(`wp_postmeta`.`meta_value` as UNSIGNED) DESC; |