This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Preview | |
| SELECT COUNT(*) | |
| FROM wp_actionscheduler_logs | |
| WHERE log_date_gmt < NOW() - INTERVAL 30 DAY; | |
| Actual | |
| DELETE FROM wp_actionscheduler_logs | |
| WHERE log_date_gmt < NOW() - INTERVAL 30 DAY; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'admin_menu', function () { | |
| remove_submenu_page( | |
| 'options-general.php', | |
| 'lw-software-manager' | |
| ); | |
| }, 999 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://almalinux.org/blog/2026-05-13-nginx-rift-cve-2026-42945/ | |
| https://ubuntu.com/security/notices/USN-8271-1 | |
| https://ubuntu.com/security/CVE-2026-42945 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'admin_menu', 'hide_liquid_web_licensing_menu_item', 999 ); | |
| function hide_liquid_web_licensing_menu_item() { | |
| remove_menu_page( 'lw-software-manager' ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| -- Affiliate info | |
| a.id AS affiliate_id, | |
| a.user_id AS affiliate_user_id, | |
| a.status AS affiliate_status, | |
| a.rate AS commission_rate, | |
| a.rate_type, | |
| a.total_earnings, | |
| a.unpaid_earnings, | |
| a.referrals AS total_referral_count, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wp cron event list --fields=hook --format=csv \ | |
| | tail -n +2 \ | |
| | grep -E '^(stellarwp|nexcess)' \ | |
| | sort -u \ | |
| | while IFS= read -r hook; do | |
| wp cron event delete "$hook" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'gettext', function( $translated, $text, $domain ) { | |
| // Only target WooCommerce strings in admin | |
| if ( ! is_admin() || $domain !== 'woocommerce' ) { | |
| return $translated; | |
| } | |
| // Check we're on the subscriptions list screen | |
| $screen = get_current_screen(); | |
| if ( $screen && $screen->id === 'woocommerce_page_wc-orders--shop_subscription' ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| o.id AS subscription_id, | |
| o.status AS subscription_status, | |
| o.date_created_gmt AS date_created, | |
| a.first_name, | |
| a.last_name, | |
| a.email, | |
| o.total_amount, | |
| o.currency, | |
| last_order.meta_value AS last_order_date_created, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function jetpackcom_custom_sync_schedule( $schedules ) { | |
| if ( ! isset( $schedules['30min'] ) ) { | |
| $schedules['30min'] = array( | |
| 'interval' => 30 * MINUTE_IN_SECONDS, | |
| 'display' => __( 'Every 30 minutes' ), | |
| ); | |
| } | |
| return $schedules; | |
| } | |
| add_filter( 'cron_schedules', 'jetpackcom_custom_sync_schedule' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://dev.fluentcart.com/ | |
| https://dev.fluentcart.com/hooks/filters.html | |
| https://dev.fluentcart.com/hooks/actions.html | |
| https://dev.fluentcart.com/database/schema.html | |
| https://dev.fluentcart.com/payment-methods-integration/ |
NewerOlder