Auto-link Site Name – Home Page

/** * Auto-link Site Name – Global Version * Pulls company name from Settings > General > Site Title * Pulls link title from Settings > General > Tagline */ function site_name_auto_links($content) { // Fire on all singular post types…Continue reading

Cortex Schema API

/** * Cortex Schema API v3.1 – Streamlined Schema Audit with Server-Side Filtering * * Focused schema auditing for WordPress pages. * Returns COMPLETE live-rendered schemas (local + global + auto-generated). * * v3.1 Changes: * – Added server-side filtering…Continue reading

Cortex Image Meta API

/** * Cortex Image Meta API – REST Endpoints for WordPress Image Optimization * v1.0 – Separated from Cortex SEO Meta API * * For image alt text, titles, captions, and optimization scoring. * Works with RankMath focus keywords for…Continue reading

2 month

add_action( ‘init’, ‘export_recent_completed_customers’ ); function export_recent_completed_customers() { // Check for the trigger in the URL: example.com/?export_customers=1 if ( isset( $_GET[‘export_customers’] ) && $_GET[‘export_customers’] === ‘1’ ) { // Security check: Only admins can run this if ( ! current_user_can( ‘manage_options’…Continue reading

Cortex Pages & Posts Meta API

/** * Cortex Pages & Posts SEO Meta API – REST Endpoints for RankMath SEO Data * v2.0 – Updated with correct focus keyword format and all 9 audit fields * * For meta titles, descriptions, excerpts, focus keywords, and…Continue reading