WPCode Snippet: MU-Plugins Sync Engine

/** * WPCode Snippet: MU-Plugins Sync Engine * Description: Synchronizes MU-Plugins FROM /wp-content/mu-plugins/ TO wpcode_snippets_sync CPT * Location: Run Everywhere * Priority: 25 * * INSTALL ORDER: #6 – Install AFTER the WPCode sync system is fully set up *…Continue reading

terminal-waiting-system

/** * Plugin Name: Terminal Waiting System * Description: Terminal queue system with departure/arrival time controls, vehicle coding, roles (admin/driver/passenger), and privacy policy. * Version: 1.0.0 * Author: Your Name * License: GPL2+ */ if (!defined(‘ABSPATH’)) exit; const VERSION =…Continue reading

Untitled Snippet

function vqs_leaderboard_assets() { wp_enqueue_style( ‘vqs-leaderboard-css’, get_stylesheet_directory_uri() . ‘/vqs-leaderboard.css’, [], ‘1.0’ ); wp_enqueue_script( ‘vqs-leaderboard-js’, get_stylesheet_directory_uri() . ‘/vqs-leaderboard.js’, [], ‘1.0’, true ); } add_action(‘wp_enqueue_scripts’, ‘vqs_leaderboard_assets’); function vqs_leaderboard_shortcode() { ob_start(); ?> Monthly Leaderboard Race Top players — live updated 00d 00h 00m 00s…Continue reading

Duplicate Posts and Pages (copy)

// Add the duplicate link to action list for post_row_actions // for “post” and custom post types add_filter( ‘post_row_actions’, ‘rd_duplicate_post_link’, 10, 2 ); // for “page” post type add_filter( ‘page_row_actions’, ‘rd_duplicate_post_link’, 10, 2 ); function rd_duplicate_post_link( $actions, $post ) {…Continue reading

Delete Pending Donations

Delete Pending Donations Delete All Pending Donations ⚠️ WARNING: This will permanently delete ALL pending donations. This action cannot be undone. Please ensure you have backed up your database.Continue reading

Cortex E-commerce Products SEO Meta

/** * Cortex E-commerce Products SEO Meta API v1.0 * REST Endpoints for WooCommerce Product & Product Category SEO Data * * For meta titles, descriptions, excerpts (short descriptions), focus keywords, * and social meta on WooCommerce products and product…Continue reading