Location: everywhere
Add AutomateWoo “Delete Custom Field” Actions
function rd_aw_register_delete_custom_field_actions() { if ( ! class_exists( ‘\AutomateWoo\Action’ ) ) { return; } if ( ! class_exists( ‘RD_AW_Action_Delete_Custom_Field_Base’, false ) ) { abstract class RD_AW_Action_Delete_Custom_Field_Base extends \AutomateWoo\Action { public function load_fields() { $meta_key = ( new \AutomateWoo\Fields\Text() ) ->set_name( ‘meta_key’…Continue reading
[Papa Macros] Prevent Unnecessary Subscription Renewal Order Metadata
if ( ! defined( ‘ABSPATH’ ) ) { return; } if ( ! class_exists( ‘WooCommerce’ ) ) { return; } if ( ! function_exists( ‘wcs_get_subscription’ ) ) { return; } function pm_exclude_blacklist_suspect_meta_from_subscription_data( $data ) { if ( ! is_array( $data…Continue reading
Yoast Meta Editor
/** * A+ Lighting — Expose Yoast SEO fields to the WordPress REST API * * WPCode snippet. Site: apluslighting.net * Created: August 14, 2026 * * WHY: Yoast stores the SEO title and meta description as PROTECTED post meta…Continue reading
Untitled Snippet
Untitled Snippet
Smart Coupons: Admin Voucher References, Notes & Search
function rd_add_generated_gift_coupon_order_note( $generated_coupon ) { if ( ! is_array( $generated_coupon ) || empty( $generated_coupon[‘new_coupon_id’] ) ) { return; } $coupon = new WC_Coupon( absint( $generated_coupon[‘new_coupon_id’] ) ); if ( ! $coupon->get_id() ) { return; } $order_id = absint( $coupon->get_meta( ‘generated_from_order_id’,…Continue reading
Coursework Help: Smart Time-Management Techniques for Students
[DEBUG] Action Scheduler Source Diagnostic
add_action( ‘admin_notices’, ‘rd_report_action_scheduler_source’ ); function rd_report_action_scheduler_source() { if ( ! current_user_can( ‘manage_options’ ) ) { return; } $versions_class = ‘ActionScheduler_Versions’; $system_info_class = ‘ActionScheduler_SystemInformation’; $action_scheduler_class = ‘ActionScheduler’; echo ‘ ‘; if ( ! class_exists( $versions_class ) && ! class_exists( $action_scheduler_class )…Continue reading
Change Login logo
function custom_login_logo() { echo ‘ ‘; } add_action(‘login_head’, ‘custom_login_logo’); function login_url(){ return “https://kashianupamhotel.com/”; // Your URL Here } add_filter(‘login_headerurl’, ‘login_url’);Continue reading