Untitled Snippet
Monthly Leaderboard Race Top players — live updated 00d 00h 00m 00s S #2 $0.00Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
Monthly Leaderboard Race Top players — live updated 00d 00h 00m 00s S #2 $0.00Continue reading
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
// 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 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
if ( ! function_exists( ‘rd_swap_products_on_subscription’ ) ) { function rd_swap_products_on_subscription( $workflow ) { // Map old SKU => new SKU (simple products only; untested with variable/bundled) $sku_mapping = array( ‘9359769001492’ => ‘9359769002352’, // Nando’s Chicken Bowl ‘9359769002277’ => ‘9359769002369’, //…Continue reading
/** * 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
add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://www.xgimi.it/wp-content/uploads/2024/11/xgimi-ico.png’; $logo_width = 84; $logo_height = 84; printf( ‘ ‘, $custom_logo, $logo_width, $logo_height );…Continue reading
add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://wpcode.com/wp-admin/images/wordpress-logo.svg’; $logo_width = 84; $logo_height = 84; printf( ‘ ‘, $custom_logo, $logo_width, $logo_height );…Continue reading
add_filter( ‘xmlrpc_enabled’, ‘__return_false’ );Continue reading