[{"data":1,"prerenderedAt":2151},["ShallowReactive",2],{"navigation":3,"/docs/configuration/advanced":110,"/docs/configuration/advanced-surround":2146},[4,23,50,67,79,91,103],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","/docs/getting-started","1.docs/1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"Installation","/docs/getting-started/installation","1.docs/1.getting-started/2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Quick Start","/docs/getting-started/quickstart","1.docs/1.getting-started/3.quickstart","i-lucide-rocket",false,{"title":24,"path":25,"stem":26,"children":27,"icon":29},"Overview","/docs/core-concepts","1.docs/2.core-concepts/1.index",[28,30,35,40,45],{"title":24,"path":25,"stem":26,"icon":29},"i-lucide-blocks",{"title":31,"path":32,"stem":33,"icon":34},"Projects","/docs/core-concepts/projects","1.docs/2.core-concepts/2.projects","i-lucide-folder",{"title":36,"path":37,"stem":38,"icon":39},"Keywords","/docs/core-concepts/keywords","1.docs/2.core-concepts/3.keywords","i-lucide-key",{"title":41,"path":42,"stem":43,"icon":44},"Templates","/docs/core-concepts/templates","1.docs/2.core-concepts/4.templates","i-lucide-file-code",{"title":46,"path":47,"stem":48,"icon":49},"Content Generation","/docs/core-concepts/content-generation","1.docs/2.core-concepts/5.content-generation","i-lucide-sparkles",{"title":51,"path":52,"stem":53,"children":54,"icon":56},"Dashboard","/docs/features","1.docs/3.features/1.index",[55,57,62],{"title":51,"path":52,"stem":53,"icon":56},"i-lucide-layout-dashboard",{"title":58,"path":59,"stem":60,"icon":61},"Auto-Posting","/docs/features/auto-posting","1.docs/3.features/2.auto-posting","i-lucide-clock",{"title":63,"path":64,"stem":65,"icon":66},"Image Management","/docs/features/image-management","1.docs/3.features/3.image-management","i-lucide-image",{"title":68,"path":69,"stem":70,"children":71,"icon":73},"Settings","/docs/configuration","1.docs/4.configuration/1.index",[72,74],{"title":68,"path":69,"stem":70,"icon":73},"i-lucide-settings",{"title":75,"path":76,"stem":77,"icon":78},"Advanced Options","/docs/configuration/advanced","1.docs/4.configuration/2.advanced","i-lucide-code",{"title":80,"path":81,"stem":82,"children":83,"icon":85},"Best Practices","/docs/guides","1.docs/5.guides/1.index",[84,86],{"title":80,"path":81,"stem":82,"icon":85},"i-lucide-award",{"title":87,"path":88,"stem":89,"icon":90},"SEO Optimization","/docs/guides/seo-optimization","1.docs/5.guides/2.seo-optimization","i-lucide-search",{"title":92,"path":93,"stem":94,"children":95,"icon":97},"Troubleshooting","/docs/reference","1.docs/6.reference/1.index",[96,98],{"title":92,"path":93,"stem":94,"icon":97},"i-lucide-wrench",{"title":99,"path":100,"stem":101,"icon":102},"FAQ","/docs/reference/faq","1.docs/6.reference/2.faq","i-lucide-help-circle",{"title":104,"path":105,"stem":106,"children":107,"icon":109},"Contact & Support","/docs/support","1.docs/7.support/1.index",[108],{"title":104,"path":105,"stem":106,"icon":109},"i-lucide-headphones",{"id":111,"title":75,"body":112,"description":2140,"extension":2141,"meta":2142,"navigation":2143,"path":76,"seo":2144,"stem":77,"__hash__":2145},"docs/1.docs/4.configuration/2.advanced.md",{"type":113,"value":114,"toc":2097},"minimark",[115,119,124,132,137,196,200,260,264,322,326,360,364,368,371,431,435,507,511,514,543,547,551,652,656,801,805,808,812,928,932,1053,1056,1144,1148,1261,1265,1330,1334,1338,1341,1385,1389,1490,1494,1658,1662,1666,1669,1773,1777,1783,1792,1796,1845,1849,1853,1856,1869,1873,1876,1916,1920,1924,1981,1985,2030,2034,2081,2093],[116,117,118],"p",{},"This guide covers advanced configuration options for power users, developers, and custom deployments.",[120,121,123],"h2",{"id":122},"wp-configphp-constants","wp-config.php Constants",[116,125,126,127,131],{},"Define these constants in your ",[128,129,130],"code",{},"wp-config.php"," for low-level configuration:",[133,134,136],"h3",{"id":135},"core-settings","Core Settings",[138,139,144],"pre",{"className":140,"code":141,"language":142,"meta":143,"style":143},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","// Enable debug mode\ndefine('SPS_DEBUG', true);\n\n// Set log level (error, warning, info, debug)\ndefine('SPS_LOG_LEVEL', 'debug');\n\n// Custom log directory\ndefine('SPS_LOG_DIR', '/path/to/logs/');\n","php","",[128,145,146,154,160,167,173,179,184,190],{"__ignoreMap":143},[147,148,151],"span",{"class":149,"line":150},"line",1,[147,152,153],{},"// Enable debug mode\n",[147,155,157],{"class":149,"line":156},2,[147,158,159],{},"define('SPS_DEBUG', true);\n",[147,161,163],{"class":149,"line":162},3,[147,164,166],{"emptyLinePlaceholder":165},true,"\n",[147,168,170],{"class":149,"line":169},4,[147,171,172],{},"// Set log level (error, warning, info, debug)\n",[147,174,176],{"class":149,"line":175},5,[147,177,178],{},"define('SPS_LOG_LEVEL', 'debug');\n",[147,180,182],{"class":149,"line":181},6,[147,183,166],{"emptyLinePlaceholder":165},[147,185,187],{"class":149,"line":186},7,[147,188,189],{},"// Custom log directory\n",[147,191,193],{"class":149,"line":192},8,[147,194,195],{},"define('SPS_LOG_DIR', '/path/to/logs/');\n",[133,197,199],{"id":198},"performance-tuning","Performance Tuning",[138,201,203],{"className":140,"code":202,"language":142,"meta":143,"style":143},"// Increase memory limit for generation\ndefine('SPS_MEMORY_LIMIT', '512M');\n\n// Extend execution time\ndefine('SPS_MAX_EXECUTION_TIME', 600);\n\n// Batch processing size\ndefine('SPS_BATCH_SIZE', 20);\n\n// Disable image processing (text-only mode)\ndefine('SPS_DISABLE_IMAGES', false);\n",[128,204,205,210,215,219,224,229,233,238,243,248,254],{"__ignoreMap":143},[147,206,207],{"class":149,"line":150},[147,208,209],{},"// Increase memory limit for generation\n",[147,211,212],{"class":149,"line":156},[147,213,214],{},"define('SPS_MEMORY_LIMIT', '512M');\n",[147,216,217],{"class":149,"line":162},[147,218,166],{"emptyLinePlaceholder":165},[147,220,221],{"class":149,"line":169},[147,222,223],{},"// Extend execution time\n",[147,225,226],{"class":149,"line":175},[147,227,228],{},"define('SPS_MAX_EXECUTION_TIME', 600);\n",[147,230,231],{"class":149,"line":181},[147,232,166],{"emptyLinePlaceholder":165},[147,234,235],{"class":149,"line":186},[147,236,237],{},"// Batch processing size\n",[147,239,240],{"class":149,"line":192},[147,241,242],{},"define('SPS_BATCH_SIZE', 20);\n",[147,244,246],{"class":149,"line":245},9,[147,247,166],{"emptyLinePlaceholder":165},[147,249,251],{"class":149,"line":250},10,[147,252,253],{},"// Disable image processing (text-only mode)\n",[147,255,257],{"class":149,"line":256},11,[147,258,259],{},"define('SPS_DISABLE_IMAGES', false);\n",[133,261,263],{"id":262},"network-configuration","Network Configuration",[138,265,267],{"className":140,"code":266,"language":142,"meta":143,"style":143},"// API request timeout (seconds)\ndefine('SPS_API_TIMEOUT', 60);\n\n// Proxy server (if required)\ndefine('SPS_PROXY_HOST', 'proxy.example.com');\ndefine('SPS_PROXY_PORT', 8080);\ndefine('SPS_PROXY_USER', 'username');\ndefine('SPS_PROXY_PASS', 'password');\n\n// Disable SSL verification (not recommended)\ndefine('SPS_SSL_VERIFY', true);\n",[128,268,269,274,279,283,288,293,298,303,308,312,317],{"__ignoreMap":143},[147,270,271],{"class":149,"line":150},[147,272,273],{},"// API request timeout (seconds)\n",[147,275,276],{"class":149,"line":156},[147,277,278],{},"define('SPS_API_TIMEOUT', 60);\n",[147,280,281],{"class":149,"line":162},[147,282,166],{"emptyLinePlaceholder":165},[147,284,285],{"class":149,"line":169},[147,286,287],{},"// Proxy server (if required)\n",[147,289,290],{"class":149,"line":175},[147,291,292],{},"define('SPS_PROXY_HOST', 'proxy.example.com');\n",[147,294,295],{"class":149,"line":181},[147,296,297],{},"define('SPS_PROXY_PORT', 8080);\n",[147,299,300],{"class":149,"line":186},[147,301,302],{},"define('SPS_PROXY_USER', 'username');\n",[147,304,305],{"class":149,"line":192},[147,306,307],{},"define('SPS_PROXY_PASS', 'password');\n",[147,309,310],{"class":149,"line":245},[147,311,166],{"emptyLinePlaceholder":165},[147,313,314],{"class":149,"line":250},[147,315,316],{},"// Disable SSL verification (not recommended)\n",[147,318,319],{"class":149,"line":256},[147,320,321],{},"define('SPS_SSL_VERIFY', true);\n",[133,323,325],{"id":324},"update-settings","Update Settings",[138,327,329],{"className":140,"code":328,"language":142,"meta":143,"style":143},"// Enable custom update server (premium versions)\ndefine('SPS_ENABLE_CUSTOM_UPDATER', true);\ndefine('SPS_UPDATE_SERVER_URL', 'https://updates.yourdomain.com');\n\n// Disable automatic updates\ndefine('SPS_AUTO_UPDATE', false);\n",[128,330,331,336,341,346,350,355],{"__ignoreMap":143},[147,332,333],{"class":149,"line":150},[147,334,335],{},"// Enable custom update server (premium versions)\n",[147,337,338],{"class":149,"line":156},[147,339,340],{},"define('SPS_ENABLE_CUSTOM_UPDATER', true);\n",[147,342,343],{"class":149,"line":162},[147,344,345],{},"define('SPS_UPDATE_SERVER_URL', 'https://updates.yourdomain.com');\n",[147,347,348],{"class":149,"line":169},[147,349,166],{"emptyLinePlaceholder":165},[147,351,352],{"class":149,"line":175},[147,353,354],{},"// Disable automatic updates\n",[147,356,357],{"class":149,"line":181},[147,358,359],{},"define('SPS_AUTO_UPDATE', false);\n",[120,361,363],{"id":362},"database-configuration","Database Configuration",[133,365,367],{"id":366},"custom-tables","Custom Tables",[116,369,370],{},"SuperSense creates these custom tables:",[372,373,374,387],"table",{},[375,376,377],"thead",{},[378,379,380,384],"tr",{},[381,382,383],"th",{},"Table",[381,385,386],{},"Purpose",[388,389,390,401,411,421],"tbody",{},[378,391,392,398],{},[393,394,395],"td",{},[128,396,397],{},"{prefix}_sps_projects",[393,399,400],{},"Project data",[378,402,403,408],{},[393,404,405],{},[128,406,407],{},"{prefix}_sps_keywords",[393,409,410],{},"Keyword storage",[378,412,413,418],{},[393,414,415],{},[128,416,417],{},"{prefix}_sps_logs",[393,419,420],{},"Activity logs",[378,422,423,428],{},[393,424,425],{},[128,426,427],{},"{prefix}_sps_queue",[393,429,430],{},"Auto-post queue",[133,432,434],{"id":433},"table-maintenance","Table Maintenance",[138,436,440],{"className":437,"code":438,"language":439,"meta":143,"style":143},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","-- View table sizes\nSELECT \n  table_name,\n  ROUND(data_length/1024/1024, 2) as data_mb,\n  ROUND(index_length/1024/1024, 2) as index_mb\nFROM information_schema.tables\nWHERE table_name LIKE '%sps_%';\n\n-- Clean old logs\nDELETE FROM wp_sps_logs WHERE created_at \u003C DATE_SUB(NOW(), INTERVAL 30 DAY);\n\n-- Optimize tables\nOPTIMIZE TABLE wp_sps_keywords;\n","sql",[128,441,442,447,452,457,462,467,472,477,481,486,491,495,501],{"__ignoreMap":143},[147,443,444],{"class":149,"line":150},[147,445,446],{},"-- View table sizes\n",[147,448,449],{"class":149,"line":156},[147,450,451],{},"SELECT \n",[147,453,454],{"class":149,"line":162},[147,455,456],{},"  table_name,\n",[147,458,459],{"class":149,"line":169},[147,460,461],{},"  ROUND(data_length/1024/1024, 2) as data_mb,\n",[147,463,464],{"class":149,"line":175},[147,465,466],{},"  ROUND(index_length/1024/1024, 2) as index_mb\n",[147,468,469],{"class":149,"line":181},[147,470,471],{},"FROM information_schema.tables\n",[147,473,474],{"class":149,"line":186},[147,475,476],{},"WHERE table_name LIKE '%sps_%';\n",[147,478,479],{"class":149,"line":192},[147,480,166],{"emptyLinePlaceholder":165},[147,482,483],{"class":149,"line":245},[147,484,485],{},"-- Clean old logs\n",[147,487,488],{"class":149,"line":250},[147,489,490],{},"DELETE FROM wp_sps_logs WHERE created_at \u003C DATE_SUB(NOW(), INTERVAL 30 DAY);\n",[147,492,493],{"class":149,"line":256},[147,494,166],{"emptyLinePlaceholder":165},[147,496,498],{"class":149,"line":497},12,[147,499,500],{},"-- Optimize tables\n",[147,502,504],{"class":149,"line":503},13,[147,505,506],{},"OPTIMIZE TABLE wp_sps_keywords;\n",[133,508,510],{"id":509},"database-indexes","Database Indexes",[116,512,513],{},"For high-volume sites, add additional indexes:",[138,515,517],{"className":437,"code":516,"language":439,"meta":143,"style":143},"-- Speed up keyword lookups\nCREATE INDEX idx_keyword_status ON wp_sps_keywords(status, project_id);\n\n-- Speed up log queries\nCREATE INDEX idx_log_date ON wp_sps_logs(created_at);\n",[128,518,519,524,529,533,538],{"__ignoreMap":143},[147,520,521],{"class":149,"line":150},[147,522,523],{},"-- Speed up keyword lookups\n",[147,525,526],{"class":149,"line":156},[147,527,528],{},"CREATE INDEX idx_keyword_status ON wp_sps_keywords(status, project_id);\n",[147,530,531],{"class":149,"line":162},[147,532,166],{"emptyLinePlaceholder":165},[147,534,535],{"class":149,"line":169},[147,536,537],{},"-- Speed up log queries\n",[147,539,540],{"class":149,"line":175},[147,541,542],{},"CREATE INDEX idx_log_date ON wp_sps_logs(created_at);\n",[120,544,546],{"id":545},"hooks-filters","Hooks & Filters",[133,548,550],{"id":549},"action-hooks","Action Hooks",[138,552,554],{"className":140,"code":553,"language":142,"meta":143,"style":143},"// Before content generation\nadd_action('sps_before_generate', function($keyword, $project) {\n    // Custom logic before generation\n}, 10, 2);\n\n// After successful generation\nadd_action('sps_after_generate', function($post_id, $keyword) {\n    // Custom post-processing\n}, 10, 2);\n\n// Before auto-post runs\nadd_action('sps_before_autopost', function() {\n    // Pre-autopost logic\n});\n\n// After image attachment\nadd_action('sps_after_image_attach', function($attachment_id, $post_id) {\n    // Custom image processing\n}, 10, 2);\n",[128,555,556,561,566,571,576,580,585,590,595,599,603,608,613,618,624,629,635,641,647],{"__ignoreMap":143},[147,557,558],{"class":149,"line":150},[147,559,560],{},"// Before content generation\n",[147,562,563],{"class":149,"line":156},[147,564,565],{},"add_action('sps_before_generate', function($keyword, $project) {\n",[147,567,568],{"class":149,"line":162},[147,569,570],{},"    // Custom logic before generation\n",[147,572,573],{"class":149,"line":169},[147,574,575],{},"}, 10, 2);\n",[147,577,578],{"class":149,"line":175},[147,579,166],{"emptyLinePlaceholder":165},[147,581,582],{"class":149,"line":181},[147,583,584],{},"// After successful generation\n",[147,586,587],{"class":149,"line":186},[147,588,589],{},"add_action('sps_after_generate', function($post_id, $keyword) {\n",[147,591,592],{"class":149,"line":192},[147,593,594],{},"    // Custom post-processing\n",[147,596,597],{"class":149,"line":245},[147,598,575],{},[147,600,601],{"class":149,"line":250},[147,602,166],{"emptyLinePlaceholder":165},[147,604,605],{"class":149,"line":256},[147,606,607],{},"// Before auto-post runs\n",[147,609,610],{"class":149,"line":497},[147,611,612],{},"add_action('sps_before_autopost', function() {\n",[147,614,615],{"class":149,"line":503},[147,616,617],{},"    // Pre-autopost logic\n",[147,619,621],{"class":149,"line":620},14,[147,622,623],{},"});\n",[147,625,627],{"class":149,"line":626},15,[147,628,166],{"emptyLinePlaceholder":165},[147,630,632],{"class":149,"line":631},16,[147,633,634],{},"// After image attachment\n",[147,636,638],{"class":149,"line":637},17,[147,639,640],{},"add_action('sps_after_image_attach', function($attachment_id, $post_id) {\n",[147,642,644],{"class":149,"line":643},18,[147,645,646],{},"    // Custom image processing\n",[147,648,650],{"class":149,"line":649},19,[147,651,575],{},[133,653,655],{"id":654},"filter-hooks","Filter Hooks",[138,657,659],{"className":140,"code":658,"language":142,"meta":143,"style":143},"// Modify generated content before saving\nadd_filter('sps_generated_content', function($content, $keyword) {\n    // Modify content\n    return $content;\n}, 10, 2);\n\n// Modify post title\nadd_filter('sps_post_title', function($title, $keyword) {\n    return $title;\n}, 10, 2);\n\n// Filter images before attachment\nadd_filter('sps_images', function($images, $keyword) {\n    // Filter or modify images array\n    return $images;\n}, 10, 2);\n\n// Modify post data before insert\nadd_filter('sps_post_data', function($post_data) {\n    // Modify WordPress post array\n    return $post_data;\n});\n\n// Custom keyword filtering\nadd_filter('sps_filter_keyword', function($allow, $keyword) {\n    // Return false to block keyword\n    return $allow;\n}, 10, 2);\n",[128,660,661,666,671,676,681,685,689,694,699,704,708,712,717,722,727,732,736,740,745,750,756,762,767,772,778,784,790,796],{"__ignoreMap":143},[147,662,663],{"class":149,"line":150},[147,664,665],{},"// Modify generated content before saving\n",[147,667,668],{"class":149,"line":156},[147,669,670],{},"add_filter('sps_generated_content', function($content, $keyword) {\n",[147,672,673],{"class":149,"line":162},[147,674,675],{},"    // Modify content\n",[147,677,678],{"class":149,"line":169},[147,679,680],{},"    return $content;\n",[147,682,683],{"class":149,"line":175},[147,684,575],{},[147,686,687],{"class":149,"line":181},[147,688,166],{"emptyLinePlaceholder":165},[147,690,691],{"class":149,"line":186},[147,692,693],{},"// Modify post title\n",[147,695,696],{"class":149,"line":192},[147,697,698],{},"add_filter('sps_post_title', function($title, $keyword) {\n",[147,700,701],{"class":149,"line":245},[147,702,703],{},"    return $title;\n",[147,705,706],{"class":149,"line":250},[147,707,575],{},[147,709,710],{"class":149,"line":256},[147,711,166],{"emptyLinePlaceholder":165},[147,713,714],{"class":149,"line":497},[147,715,716],{},"// Filter images before attachment\n",[147,718,719],{"class":149,"line":503},[147,720,721],{},"add_filter('sps_images', function($images, $keyword) {\n",[147,723,724],{"class":149,"line":620},[147,725,726],{},"    // Filter or modify images array\n",[147,728,729],{"class":149,"line":626},[147,730,731],{},"    return $images;\n",[147,733,734],{"class":149,"line":631},[147,735,575],{},[147,737,738],{"class":149,"line":637},[147,739,166],{"emptyLinePlaceholder":165},[147,741,742],{"class":149,"line":643},[147,743,744],{},"// Modify post data before insert\n",[147,746,747],{"class":149,"line":649},[147,748,749],{},"add_filter('sps_post_data', function($post_data) {\n",[147,751,753],{"class":149,"line":752},20,[147,754,755],{},"    // Modify WordPress post array\n",[147,757,759],{"class":149,"line":758},21,[147,760,761],{},"    return $post_data;\n",[147,763,765],{"class":149,"line":764},22,[147,766,623],{},[147,768,770],{"class":149,"line":769},23,[147,771,166],{"emptyLinePlaceholder":165},[147,773,775],{"class":149,"line":774},24,[147,776,777],{},"// Custom keyword filtering\n",[147,779,781],{"class":149,"line":780},25,[147,782,783],{},"add_filter('sps_filter_keyword', function($allow, $keyword) {\n",[147,785,787],{"class":149,"line":786},26,[147,788,789],{},"    // Return false to block keyword\n",[147,791,793],{"class":149,"line":792},27,[147,794,795],{},"    return $allow;\n",[147,797,799],{"class":149,"line":798},28,[147,800,575],{},[120,802,804],{"id":803},"wp-cli-commands","WP-CLI Commands",[116,806,807],{},"Full list of available CLI commands:",[133,809,811],{"id":810},"project-management","Project Management",[138,813,817],{"className":814,"code":815,"language":816,"meta":143,"style":143},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# List all projects\nwp sps project list\n\n# Create a project\nwp sps project create --name=\"My Project\" --language=en\n\n# Update project\nwp sps project update 1 --status=active\n\n# Delete project\nwp sps project delete 1 --force\n","bash",[128,818,819,825,841,845,850,876,880,885,903,907,912],{"__ignoreMap":143},[147,820,821],{"class":149,"line":150},[147,822,824],{"class":823},"sHwdD","# List all projects\n",[147,826,827,831,835,838],{"class":149,"line":156},[147,828,830],{"class":829},"sBMFI","wp",[147,832,834],{"class":833},"sfazB"," sps",[147,836,837],{"class":833}," project",[147,839,840],{"class":833}," list\n",[147,842,843],{"class":149,"line":162},[147,844,166],{"emptyLinePlaceholder":165},[147,846,847],{"class":149,"line":169},[147,848,849],{"class":823},"# Create a project\n",[147,851,852,854,856,858,861,864,868,871,873],{"class":149,"line":175},[147,853,830],{"class":829},[147,855,834],{"class":833},[147,857,837],{"class":833},[147,859,860],{"class":833}," create",[147,862,863],{"class":833}," --name=",[147,865,867],{"class":866},"sMK4o","\"",[147,869,870],{"class":833},"My Project",[147,872,867],{"class":866},[147,874,875],{"class":833}," --language=en\n",[147,877,878],{"class":149,"line":181},[147,879,166],{"emptyLinePlaceholder":165},[147,881,882],{"class":149,"line":186},[147,883,884],{"class":823},"# Update project\n",[147,886,887,889,891,893,896,900],{"class":149,"line":192},[147,888,830],{"class":829},[147,890,834],{"class":833},[147,892,837],{"class":833},[147,894,895],{"class":833}," update",[147,897,899],{"class":898},"sbssI"," 1",[147,901,902],{"class":833}," --status=active\n",[147,904,905],{"class":149,"line":245},[147,906,166],{"emptyLinePlaceholder":165},[147,908,909],{"class":149,"line":250},[147,910,911],{"class":823},"# Delete project\n",[147,913,914,916,918,920,923,925],{"class":149,"line":256},[147,915,830],{"class":829},[147,917,834],{"class":833},[147,919,837],{"class":833},[147,921,922],{"class":833}," delete",[147,924,899],{"class":898},[147,926,927],{"class":833}," --force\n",[133,929,931],{"id":930},"keyword-management","Keyword Management",[138,933,935],{"className":814,"code":934,"language":816,"meta":143,"style":143},"# Add keywords\nwp sps keyword add 1 \"keyword one\" \"keyword two\"\n\n# Import from file\nwp sps keyword import 1 keywords.txt\n\n# Export keywords\nwp sps keyword export 1 --status=pending > pending.txt\n\n# Reset keyword status\nwp sps keyword reset 1 --status=failed\n",[128,936,937,942,972,976,981,997,1001,1006,1028,1032,1037],{"__ignoreMap":143},[147,938,939],{"class":149,"line":150},[147,940,941],{"class":823},"# Add keywords\n",[147,943,944,946,948,951,954,956,959,962,964,966,969],{"class":149,"line":156},[147,945,830],{"class":829},[147,947,834],{"class":833},[147,949,950],{"class":833}," keyword",[147,952,953],{"class":833}," add",[147,955,899],{"class":898},[147,957,958],{"class":866}," \"",[147,960,961],{"class":833},"keyword one",[147,963,867],{"class":866},[147,965,958],{"class":866},[147,967,968],{"class":833},"keyword two",[147,970,971],{"class":866},"\"\n",[147,973,974],{"class":149,"line":162},[147,975,166],{"emptyLinePlaceholder":165},[147,977,978],{"class":149,"line":169},[147,979,980],{"class":823},"# Import from file\n",[147,982,983,985,987,989,992,994],{"class":149,"line":175},[147,984,830],{"class":829},[147,986,834],{"class":833},[147,988,950],{"class":833},[147,990,991],{"class":833}," import",[147,993,899],{"class":898},[147,995,996],{"class":833}," keywords.txt\n",[147,998,999],{"class":149,"line":181},[147,1000,166],{"emptyLinePlaceholder":165},[147,1002,1003],{"class":149,"line":186},[147,1004,1005],{"class":823},"# Export keywords\n",[147,1007,1008,1010,1012,1014,1017,1019,1022,1025],{"class":149,"line":192},[147,1009,830],{"class":829},[147,1011,834],{"class":833},[147,1013,950],{"class":833},[147,1015,1016],{"class":833}," export",[147,1018,899],{"class":898},[147,1020,1021],{"class":833}," --status=pending",[147,1023,1024],{"class":866}," >",[147,1026,1027],{"class":833}," pending.txt\n",[147,1029,1030],{"class":149,"line":245},[147,1031,166],{"emptyLinePlaceholder":165},[147,1033,1034],{"class":149,"line":250},[147,1035,1036],{"class":823},"# Reset keyword status\n",[147,1038,1039,1041,1043,1045,1048,1050],{"class":149,"line":256},[147,1040,830],{"class":829},[147,1042,834],{"class":833},[147,1044,950],{"class":833},[147,1046,1047],{"class":833}," reset",[147,1049,899],{"class":898},[147,1051,1052],{"class":833}," --status=failed\n",[133,1054,46],{"id":1055},"content-generation",[138,1057,1059],{"className":814,"code":1058,"language":816,"meta":143,"style":143},"# Generate single post\nwp sps generate --keyword-id=123\n\n# Generate for project\nwp sps generate --project-id=1 --limit=5\n\n# Batch generate\nwp sps generate --batch --limit=10\n\n# Dry run (no actual generation)\nwp sps generate --dry-run\n",[128,1060,1061,1066,1078,1082,1087,1101,1105,1110,1124,1128,1133],{"__ignoreMap":143},[147,1062,1063],{"class":149,"line":150},[147,1064,1065],{"class":823},"# Generate single post\n",[147,1067,1068,1070,1072,1075],{"class":149,"line":156},[147,1069,830],{"class":829},[147,1071,834],{"class":833},[147,1073,1074],{"class":833}," generate",[147,1076,1077],{"class":833}," --keyword-id=123\n",[147,1079,1080],{"class":149,"line":162},[147,1081,166],{"emptyLinePlaceholder":165},[147,1083,1084],{"class":149,"line":169},[147,1085,1086],{"class":823},"# Generate for project\n",[147,1088,1089,1091,1093,1095,1098],{"class":149,"line":175},[147,1090,830],{"class":829},[147,1092,834],{"class":833},[147,1094,1074],{"class":833},[147,1096,1097],{"class":833}," --project-id=1",[147,1099,1100],{"class":833}," --limit=5\n",[147,1102,1103],{"class":149,"line":181},[147,1104,166],{"emptyLinePlaceholder":165},[147,1106,1107],{"class":149,"line":186},[147,1108,1109],{"class":823},"# Batch generate\n",[147,1111,1112,1114,1116,1118,1121],{"class":149,"line":192},[147,1113,830],{"class":829},[147,1115,834],{"class":833},[147,1117,1074],{"class":833},[147,1119,1120],{"class":833}," --batch",[147,1122,1123],{"class":833}," --limit=10\n",[147,1125,1126],{"class":149,"line":245},[147,1127,166],{"emptyLinePlaceholder":165},[147,1129,1130],{"class":149,"line":250},[147,1131,1132],{"class":823},"# Dry run (no actual generation)\n",[147,1134,1135,1137,1139,1141],{"class":149,"line":256},[147,1136,830],{"class":829},[147,1138,834],{"class":833},[147,1140,1074],{"class":833},[147,1142,1143],{"class":833}," --dry-run\n",[133,1145,1147],{"id":1146},"auto-post-control","Auto-Post Control",[138,1149,1151],{"className":814,"code":1150,"language":816,"meta":143,"style":143},"# Check status\nwp sps autopost status\n\n# Start/stop\nwp sps autopost start\nwp sps autopost stop\n\n# Run once\nwp sps autopost run\n\n# View queue\nwp sps autopost queue\n\n# Clear queue\nwp sps autopost clear\n",[128,1152,1153,1158,1170,1174,1179,1190,1201,1205,1210,1221,1225,1230,1241,1245,1250],{"__ignoreMap":143},[147,1154,1155],{"class":149,"line":150},[147,1156,1157],{"class":823},"# Check status\n",[147,1159,1160,1162,1164,1167],{"class":149,"line":156},[147,1161,830],{"class":829},[147,1163,834],{"class":833},[147,1165,1166],{"class":833}," autopost",[147,1168,1169],{"class":833}," status\n",[147,1171,1172],{"class":149,"line":162},[147,1173,166],{"emptyLinePlaceholder":165},[147,1175,1176],{"class":149,"line":169},[147,1177,1178],{"class":823},"# Start/stop\n",[147,1180,1181,1183,1185,1187],{"class":149,"line":175},[147,1182,830],{"class":829},[147,1184,834],{"class":833},[147,1186,1166],{"class":833},[147,1188,1189],{"class":833}," start\n",[147,1191,1192,1194,1196,1198],{"class":149,"line":181},[147,1193,830],{"class":829},[147,1195,834],{"class":833},[147,1197,1166],{"class":833},[147,1199,1200],{"class":833}," stop\n",[147,1202,1203],{"class":149,"line":186},[147,1204,166],{"emptyLinePlaceholder":165},[147,1206,1207],{"class":149,"line":192},[147,1208,1209],{"class":823},"# Run once\n",[147,1211,1212,1214,1216,1218],{"class":149,"line":245},[147,1213,830],{"class":829},[147,1215,834],{"class":833},[147,1217,1166],{"class":833},[147,1219,1220],{"class":833}," run\n",[147,1222,1223],{"class":149,"line":250},[147,1224,166],{"emptyLinePlaceholder":165},[147,1226,1227],{"class":149,"line":256},[147,1228,1229],{"class":823},"# View queue\n",[147,1231,1232,1234,1236,1238],{"class":149,"line":497},[147,1233,830],{"class":829},[147,1235,834],{"class":833},[147,1237,1166],{"class":833},[147,1239,1240],{"class":833}," queue\n",[147,1242,1243],{"class":149,"line":503},[147,1244,166],{"emptyLinePlaceholder":165},[147,1246,1247],{"class":149,"line":620},[147,1248,1249],{"class":823},"# Clear queue\n",[147,1251,1252,1254,1256,1258],{"class":149,"line":626},[147,1253,830],{"class":829},[147,1255,834],{"class":833},[147,1257,1166],{"class":833},[147,1259,1260],{"class":833}," clear\n",[133,1262,1264],{"id":1263},"maintenance","Maintenance",[138,1266,1268],{"className":814,"code":1267,"language":816,"meta":143,"style":143},"# Clean old logs\nwp sps cleanup logs --days=30\n\n# Clean orphaned images\nwp sps cleanup images\n\n# Reset all data (dangerous)\nwp sps reset --confirm\n",[128,1269,1270,1275,1290,1294,1299,1310,1314,1319],{"__ignoreMap":143},[147,1271,1272],{"class":149,"line":150},[147,1273,1274],{"class":823},"# Clean old logs\n",[147,1276,1277,1279,1281,1284,1287],{"class":149,"line":156},[147,1278,830],{"class":829},[147,1280,834],{"class":833},[147,1282,1283],{"class":833}," cleanup",[147,1285,1286],{"class":833}," logs",[147,1288,1289],{"class":833}," --days=30\n",[147,1291,1292],{"class":149,"line":162},[147,1293,166],{"emptyLinePlaceholder":165},[147,1295,1296],{"class":149,"line":169},[147,1297,1298],{"class":823},"# Clean orphaned images\n",[147,1300,1301,1303,1305,1307],{"class":149,"line":175},[147,1302,830],{"class":829},[147,1304,834],{"class":833},[147,1306,1283],{"class":833},[147,1308,1309],{"class":833}," images\n",[147,1311,1312],{"class":149,"line":181},[147,1313,166],{"emptyLinePlaceholder":165},[147,1315,1316],{"class":149,"line":186},[147,1317,1318],{"class":823},"# Reset all data (dangerous)\n",[147,1320,1321,1323,1325,1327],{"class":149,"line":192},[147,1322,830],{"class":829},[147,1324,834],{"class":833},[147,1326,1047],{"class":833},[147,1328,1329],{"class":833}," --confirm\n",[120,1331,1333],{"id":1332},"rest-api","REST API",[133,1335,1337],{"id":1336},"authentication","Authentication",[116,1339,1340],{},"SuperSense REST endpoints require authentication:",[138,1342,1344],{"className":814,"code":1343,"language":816,"meta":143,"style":143},"# Using Application Passwords\ncurl -X GET \\\n  -u \"username:application_password\" \\\n  https://yoursite.com/wp-json/sps/v1/projects\n",[128,1345,1346,1351,1366,1380],{"__ignoreMap":143},[147,1347,1348],{"class":149,"line":150},[147,1349,1350],{"class":823},"# Using Application Passwords\n",[147,1352,1353,1356,1359,1362],{"class":149,"line":156},[147,1354,1355],{"class":829},"curl",[147,1357,1358],{"class":833}," -X",[147,1360,1361],{"class":833}," GET",[147,1363,1365],{"class":1364},"sTEyZ"," \\\n",[147,1367,1368,1371,1373,1376,1378],{"class":149,"line":162},[147,1369,1370],{"class":833},"  -u",[147,1372,958],{"class":866},[147,1374,1375],{"class":833},"username:application_password",[147,1377,867],{"class":866},[147,1379,1365],{"class":1364},[147,1381,1382],{"class":149,"line":169},[147,1383,1384],{"class":833},"  https://yoursite.com/wp-json/sps/v1/projects\n",[133,1386,1388],{"id":1387},"available-endpoints","Available Endpoints",[372,1390,1391,1404],{},[375,1392,1393],{},[378,1394,1395,1398,1401],{},[381,1396,1397],{},"Endpoint",[381,1399,1400],{},"Method",[381,1402,1403],{},"Description",[388,1405,1406,1419,1431,1443,1455,1466,1478],{},[378,1407,1408,1413,1416],{},[393,1409,1410],{},[128,1411,1412],{},"/sps/v1/projects",[393,1414,1415],{},"GET",[393,1417,1418],{},"List projects",[378,1420,1421,1426,1428],{},[393,1422,1423],{},[128,1424,1425],{},"/sps/v1/projects/{id}",[393,1427,1415],{},[393,1429,1430],{},"Get project",[378,1432,1433,1437,1440],{},[393,1434,1435],{},[128,1436,1412],{},[393,1438,1439],{},"POST",[393,1441,1442],{},"Create project",[378,1444,1445,1450,1452],{},[393,1446,1447],{},[128,1448,1449],{},"/sps/v1/keywords",[393,1451,1415],{},[393,1453,1454],{},"List keywords",[378,1456,1457,1461,1463],{},[393,1458,1459],{},[128,1460,1449],{},[393,1462,1439],{},[393,1464,1465],{},"Add keywords",[378,1467,1468,1473,1475],{},[393,1469,1470],{},[128,1471,1472],{},"/sps/v1/generate",[393,1474,1439],{},[393,1476,1477],{},"Trigger generation",[378,1479,1480,1485,1487],{},[393,1481,1482],{},[128,1483,1484],{},"/sps/v1/status",[393,1486,1415],{},[393,1488,1489],{},"System status",[133,1491,1493],{"id":1492},"example-requests","Example Requests",[138,1495,1497],{"className":814,"code":1496,"language":816,"meta":143,"style":143},"# Get all projects\ncurl -X GET \\\n  -u \"user:pass\" \\\n  https://yoursite.com/wp-json/sps/v1/projects\n\n# Add keywords\ncurl -X POST \\\n  -u \"user:pass\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"project_id\": 1, \"keywords\": [\"keyword1\", \"keyword2\"]}' \\\n  https://yoursite.com/wp-json/sps/v1/keywords\n\n# Trigger generation\ncurl -X POST \\\n  -u \"user:pass\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"keyword_id\": 123}' \\\n  https://yoursite.com/wp-json/sps/v1/generate\n",[128,1498,1499,1504,1514,1527,1531,1535,1539,1550,1562,1576,1592,1597,1601,1606,1616,1628,1640,1653],{"__ignoreMap":143},[147,1500,1501],{"class":149,"line":150},[147,1502,1503],{"class":823},"# Get all projects\n",[147,1505,1506,1508,1510,1512],{"class":149,"line":156},[147,1507,1355],{"class":829},[147,1509,1358],{"class":833},[147,1511,1361],{"class":833},[147,1513,1365],{"class":1364},[147,1515,1516,1518,1520,1523,1525],{"class":149,"line":162},[147,1517,1370],{"class":833},[147,1519,958],{"class":866},[147,1521,1522],{"class":833},"user:pass",[147,1524,867],{"class":866},[147,1526,1365],{"class":1364},[147,1528,1529],{"class":149,"line":169},[147,1530,1384],{"class":833},[147,1532,1533],{"class":149,"line":175},[147,1534,166],{"emptyLinePlaceholder":165},[147,1536,1537],{"class":149,"line":181},[147,1538,941],{"class":823},[147,1540,1541,1543,1545,1548],{"class":149,"line":186},[147,1542,1355],{"class":829},[147,1544,1358],{"class":833},[147,1546,1547],{"class":833}," POST",[147,1549,1365],{"class":1364},[147,1551,1552,1554,1556,1558,1560],{"class":149,"line":192},[147,1553,1370],{"class":833},[147,1555,958],{"class":866},[147,1557,1522],{"class":833},[147,1559,867],{"class":866},[147,1561,1365],{"class":1364},[147,1563,1564,1567,1569,1572,1574],{"class":149,"line":245},[147,1565,1566],{"class":833},"  -H",[147,1568,958],{"class":866},[147,1570,1571],{"class":833},"Content-Type: application/json",[147,1573,867],{"class":866},[147,1575,1365],{"class":1364},[147,1577,1578,1581,1584,1587,1590],{"class":149,"line":250},[147,1579,1580],{"class":833},"  -d",[147,1582,1583],{"class":866}," '",[147,1585,1586],{"class":833},"{\"project_id\": 1, \"keywords\": [\"keyword1\", \"keyword2\"]}",[147,1588,1589],{"class":866},"'",[147,1591,1365],{"class":1364},[147,1593,1594],{"class":149,"line":256},[147,1595,1596],{"class":833},"  https://yoursite.com/wp-json/sps/v1/keywords\n",[147,1598,1599],{"class":149,"line":497},[147,1600,166],{"emptyLinePlaceholder":165},[147,1602,1603],{"class":149,"line":503},[147,1604,1605],{"class":823},"# Trigger generation\n",[147,1607,1608,1610,1612,1614],{"class":149,"line":620},[147,1609,1355],{"class":829},[147,1611,1358],{"class":833},[147,1613,1547],{"class":833},[147,1615,1365],{"class":1364},[147,1617,1618,1620,1622,1624,1626],{"class":149,"line":626},[147,1619,1370],{"class":833},[147,1621,958],{"class":866},[147,1623,1522],{"class":833},[147,1625,867],{"class":866},[147,1627,1365],{"class":1364},[147,1629,1630,1632,1634,1636,1638],{"class":149,"line":631},[147,1631,1566],{"class":833},[147,1633,958],{"class":866},[147,1635,1571],{"class":833},[147,1637,867],{"class":866},[147,1639,1365],{"class":1364},[147,1641,1642,1644,1646,1649,1651],{"class":149,"line":637},[147,1643,1580],{"class":833},[147,1645,1583],{"class":866},[147,1647,1648],{"class":833},"{\"keyword_id\": 123}",[147,1650,1589],{"class":866},[147,1652,1365],{"class":1364},[147,1654,1655],{"class":149,"line":643},[147,1656,1657],{"class":833},"  https://yoursite.com/wp-json/sps/v1/generate\n",[120,1659,1661],{"id":1660},"cron-configuration","Cron Configuration",[133,1663,1665],{"id":1664},"reliable-cron-setup","Reliable Cron Setup",[116,1667,1668],{},"For production sites, use system cron:",[138,1670,1672],{"className":814,"code":1671,"language":816,"meta":143,"style":143},"# /etc/cron.d/wordpress-sps\n\n# Run WordPress cron every minute\n* * * * * www-data cd /var/www/html && wp cron event run --due-now > /dev/null 2>&1\n\n# Run SuperSense specific tasks every 5 minutes\n*/5 * * * * www-data cd /var/www/html && wp sps cron run > /dev/null 2>&1\n",[128,1673,1674,1679,1683,1688,1731,1735,1740],{"__ignoreMap":143},[147,1675,1676],{"class":149,"line":150},[147,1677,1678],{"class":823},"# /etc/cron.d/wordpress-sps\n",[147,1680,1681],{"class":149,"line":156},[147,1682,166],{"emptyLinePlaceholder":165},[147,1684,1685],{"class":149,"line":162},[147,1686,1687],{"class":823},"# Run WordPress cron every minute\n",[147,1689,1690,1693,1696,1698,1700,1702,1705,1708,1711,1714,1717,1720,1723,1725,1728],{"class":149,"line":169},[147,1691,1692],{"class":866},"*",[147,1694,1695],{"class":866}," *",[147,1697,1695],{"class":866},[147,1699,1695],{"class":866},[147,1701,1695],{"class":866},[147,1703,1704],{"class":1364}," www-data cd /var/www/html ",[147,1706,1707],{"class":866},"&&",[147,1709,1710],{"class":829}," wp",[147,1712,1713],{"class":833}," cron",[147,1715,1716],{"class":833}," event",[147,1718,1719],{"class":833}," run",[147,1721,1722],{"class":833}," --due-now",[147,1724,1024],{"class":866},[147,1726,1727],{"class":833}," /dev/null",[147,1729,1730],{"class":866}," 2>&1\n",[147,1732,1733],{"class":149,"line":175},[147,1734,166],{"emptyLinePlaceholder":165},[147,1736,1737],{"class":149,"line":181},[147,1738,1739],{"class":823},"# Run SuperSense specific tasks every 5 minutes\n",[147,1741,1742,1744,1747,1749,1751,1753,1755,1757,1759,1761,1763,1765,1767,1769,1771],{"class":149,"line":186},[147,1743,1692],{"class":866},[147,1745,1746],{"class":1364},"/5 ",[147,1748,1692],{"class":866},[147,1750,1695],{"class":866},[147,1752,1695],{"class":866},[147,1754,1695],{"class":866},[147,1756,1704],{"class":1364},[147,1758,1707],{"class":866},[147,1760,1710],{"class":829},[147,1762,834],{"class":833},[147,1764,1713],{"class":833},[147,1766,1719],{"class":833},[147,1768,1024],{"class":866},[147,1770,1727],{"class":833},[147,1772,1730],{"class":866},[133,1774,1776],{"id":1775},"disable-wp-cron","Disable WP-Cron",[116,1778,1779,1780,1782],{},"In ",[128,1781,130],{},":",[138,1784,1786],{"className":140,"code":1785,"language":142,"meta":143,"style":143},"define('DISABLE_WP_CRON', true);\n",[128,1787,1788],{"__ignoreMap":143},[147,1789,1790],{"class":149,"line":150},[147,1791,1785],{},[133,1793,1795],{"id":1794},"verify-cron","Verify Cron",[138,1797,1799],{"className":814,"code":1798,"language":816,"meta":143,"style":143},"# Check scheduled events\nwp cron event list | grep sps\n\n# Check if events are running\nwp sps cron status\n",[128,1800,1801,1806,1826,1830,1835],{"__ignoreMap":143},[147,1802,1803],{"class":149,"line":150},[147,1804,1805],{"class":823},"# Check scheduled events\n",[147,1807,1808,1810,1812,1814,1817,1820,1823],{"class":149,"line":156},[147,1809,830],{"class":829},[147,1811,1713],{"class":833},[147,1813,1716],{"class":833},[147,1815,1816],{"class":833}," list",[147,1818,1819],{"class":866}," |",[147,1821,1822],{"class":829}," grep",[147,1824,1825],{"class":833}," sps\n",[147,1827,1828],{"class":149,"line":162},[147,1829,166],{"emptyLinePlaceholder":165},[147,1831,1832],{"class":149,"line":169},[147,1833,1834],{"class":823},"# Check if events are running\n",[147,1836,1837,1839,1841,1843],{"class":149,"line":175},[147,1838,830],{"class":829},[147,1840,834],{"class":833},[147,1842,1713],{"class":833},[147,1844,1169],{"class":833},[120,1846,1848],{"id":1847},"multisite-configuration","Multisite Configuration",[133,1850,1852],{"id":1851},"network-activation","Network Activation",[116,1854,1855],{},"SuperSense can be network-activated:",[1857,1858,1859,1863,1866],"ol",{},[1860,1861,1862],"li",{},"Network activate the plugin",[1860,1864,1865],{},"Each site maintains its own data",[1860,1867,1868],{},"Licenses may require per-site activation",[133,1870,1872],{"id":1871},"per-site-settings","Per-Site Settings",[116,1874,1875],{},"Override network defaults per site:",[138,1877,1879],{"className":140,"code":1878,"language":142,"meta":143,"style":143},"// In wp-config.php or site-specific config\ndefine('SPS_SITE_SETTINGS', [\n    'site_id' => [\n        'api_limit' => 1000,\n        'interval' => 120,\n    ]\n]);\n",[128,1880,1881,1886,1891,1896,1901,1906,1911],{"__ignoreMap":143},[147,1882,1883],{"class":149,"line":150},[147,1884,1885],{},"// In wp-config.php or site-specific config\n",[147,1887,1888],{"class":149,"line":156},[147,1889,1890],{},"define('SPS_SITE_SETTINGS', [\n",[147,1892,1893],{"class":149,"line":162},[147,1894,1895],{},"    'site_id' => [\n",[147,1897,1898],{"class":149,"line":169},[147,1899,1900],{},"        'api_limit' => 1000,\n",[147,1902,1903],{"class":149,"line":175},[147,1904,1905],{},"        'interval' => 120,\n",[147,1907,1908],{"class":149,"line":181},[147,1909,1910],{},"    ]\n",[147,1912,1913],{"class":149,"line":186},[147,1914,1915],{},"]);\n",[120,1917,1919],{"id":1918},"performance-optimization","Performance Optimization",[133,1921,1923],{"id":1922},"for-high-volume-sites","For High-Volume Sites",[138,1925,1927],{"className":140,"code":1926,"language":142,"meta":143,"style":143},"// Increase batch processing\ndefine('SPS_BATCH_SIZE', 50);\n\n// Enable async processing\ndefine('SPS_ASYNC_GENERATION', true);\n\n// Reduce logging\ndefine('SPS_LOG_LEVEL', 'error');\n\n// Cache templates\ndefine('SPS_CACHE_TEMPLATES', true);\n",[128,1928,1929,1934,1939,1943,1948,1953,1957,1962,1967,1971,1976],{"__ignoreMap":143},[147,1930,1931],{"class":149,"line":150},[147,1932,1933],{},"// Increase batch processing\n",[147,1935,1936],{"class":149,"line":156},[147,1937,1938],{},"define('SPS_BATCH_SIZE', 50);\n",[147,1940,1941],{"class":149,"line":162},[147,1942,166],{"emptyLinePlaceholder":165},[147,1944,1945],{"class":149,"line":169},[147,1946,1947],{},"// Enable async processing\n",[147,1949,1950],{"class":149,"line":175},[147,1951,1952],{},"define('SPS_ASYNC_GENERATION', true);\n",[147,1954,1955],{"class":149,"line":181},[147,1956,166],{"emptyLinePlaceholder":165},[147,1958,1959],{"class":149,"line":186},[147,1960,1961],{},"// Reduce logging\n",[147,1963,1964],{"class":149,"line":192},[147,1965,1966],{},"define('SPS_LOG_LEVEL', 'error');\n",[147,1968,1969],{"class":149,"line":245},[147,1970,166],{"emptyLinePlaceholder":165},[147,1972,1973],{"class":149,"line":250},[147,1974,1975],{},"// Cache templates\n",[147,1977,1978],{"class":149,"line":256},[147,1979,1980],{},"define('SPS_CACHE_TEMPLATES', true);\n",[133,1982,1984],{"id":1983},"database-optimization","Database Optimization",[138,1986,1988],{"className":437,"code":1987,"language":439,"meta":143,"style":143},"-- Add partitioning for large log tables\nALTER TABLE wp_sps_logs\nPARTITION BY RANGE (TO_DAYS(created_at)) (\n    PARTITION p_old VALUES LESS THAN (TO_DAYS('2024-01-01')),\n    PARTITION p_2024_q1 VALUES LESS THAN (TO_DAYS('2024-04-01')),\n    PARTITION p_2024_q2 VALUES LESS THAN (TO_DAYS('2024-07-01')),\n    PARTITION p_future VALUES LESS THAN MAXVALUE\n);\n",[128,1989,1990,1995,2000,2005,2010,2015,2020,2025],{"__ignoreMap":143},[147,1991,1992],{"class":149,"line":150},[147,1993,1994],{},"-- Add partitioning for large log tables\n",[147,1996,1997],{"class":149,"line":156},[147,1998,1999],{},"ALTER TABLE wp_sps_logs\n",[147,2001,2002],{"class":149,"line":162},[147,2003,2004],{},"PARTITION BY RANGE (TO_DAYS(created_at)) (\n",[147,2006,2007],{"class":149,"line":169},[147,2008,2009],{},"    PARTITION p_old VALUES LESS THAN (TO_DAYS('2024-01-01')),\n",[147,2011,2012],{"class":149,"line":175},[147,2013,2014],{},"    PARTITION p_2024_q1 VALUES LESS THAN (TO_DAYS('2024-04-01')),\n",[147,2016,2017],{"class":149,"line":181},[147,2018,2019],{},"    PARTITION p_2024_q2 VALUES LESS THAN (TO_DAYS('2024-07-01')),\n",[147,2021,2022],{"class":149,"line":186},[147,2023,2024],{},"    PARTITION p_future VALUES LESS THAN MAXVALUE\n",[147,2026,2027],{"class":149,"line":192},[147,2028,2029],{},");\n",[133,2031,2033],{"id":2032},"memory-management","Memory Management",[138,2035,2037],{"className":140,"code":2036,"language":142,"meta":143,"style":143},"// Process in smaller chunks\nadd_filter('sps_batch_size', function() {\n    return 5; // Smaller batches\n});\n\n// Force garbage collection\nadd_action('sps_after_generate', function() {\n    gc_collect_cycles();\n});\n",[128,2038,2039,2044,2049,2054,2058,2062,2067,2072,2077],{"__ignoreMap":143},[147,2040,2041],{"class":149,"line":150},[147,2042,2043],{},"// Process in smaller chunks\n",[147,2045,2046],{"class":149,"line":156},[147,2047,2048],{},"add_filter('sps_batch_size', function() {\n",[147,2050,2051],{"class":149,"line":162},[147,2052,2053],{},"    return 5; // Smaller batches\n",[147,2055,2056],{"class":149,"line":169},[147,2057,623],{},[147,2059,2060],{"class":149,"line":175},[147,2061,166],{"emptyLinePlaceholder":165},[147,2063,2064],{"class":149,"line":181},[147,2065,2066],{},"// Force garbage collection\n",[147,2068,2069],{"class":149,"line":186},[147,2070,2071],{},"add_action('sps_after_generate', function() {\n",[147,2073,2074],{"class":149,"line":192},[147,2075,2076],{},"    gc_collect_cycles();\n",[147,2078,2079],{"class":149,"line":245},[147,2080,623],{},[2082,2083,2086],"callout",{"color":2084,"icon":2085},"amber","i-lucide-alert-triangle",[116,2087,2088,2092],{},[2089,2090,2091],"strong",{},"Warning:"," Advanced configuration changes can affect plugin stability. Test thoroughly in a staging environment first.",[2094,2095,2096],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":143,"searchDepth":156,"depth":156,"links":2098},[2099,2105,2110,2114,2121,2126,2131,2135],{"id":122,"depth":156,"text":123,"children":2100},[2101,2102,2103,2104],{"id":135,"depth":162,"text":136},{"id":198,"depth":162,"text":199},{"id":262,"depth":162,"text":263},{"id":324,"depth":162,"text":325},{"id":362,"depth":156,"text":363,"children":2106},[2107,2108,2109],{"id":366,"depth":162,"text":367},{"id":433,"depth":162,"text":434},{"id":509,"depth":162,"text":510},{"id":545,"depth":156,"text":546,"children":2111},[2112,2113],{"id":549,"depth":162,"text":550},{"id":654,"depth":162,"text":655},{"id":803,"depth":156,"text":804,"children":2115},[2116,2117,2118,2119,2120],{"id":810,"depth":162,"text":811},{"id":930,"depth":162,"text":931},{"id":1055,"depth":162,"text":46},{"id":1146,"depth":162,"text":1147},{"id":1263,"depth":162,"text":1264},{"id":1332,"depth":156,"text":1333,"children":2122},[2123,2124,2125],{"id":1336,"depth":162,"text":1337},{"id":1387,"depth":162,"text":1388},{"id":1492,"depth":162,"text":1493},{"id":1660,"depth":156,"text":1661,"children":2127},[2128,2129,2130],{"id":1664,"depth":162,"text":1665},{"id":1775,"depth":162,"text":1776},{"id":1794,"depth":162,"text":1795},{"id":1847,"depth":156,"text":1848,"children":2132},[2133,2134],{"id":1851,"depth":162,"text":1852},{"id":1871,"depth":162,"text":1872},{"id":1918,"depth":156,"text":1919,"children":2136},[2137,2138,2139],{"id":1922,"depth":162,"text":1923},{"id":1983,"depth":162,"text":1984},{"id":2032,"depth":162,"text":2033},"Power-user configuration for custom deployments, performance tuning, and developer integration.","md",{},{"icon":78},{"title":75,"description":2140},"KuWBTxsgPc8b8DRaa3MKMay8QQ1Tp0wbFqS_3SMcOUs",[2147,2149],{"title":68,"path":69,"stem":70,"description":2148,"icon":73,"children":-1},"Configure SuperSense to match your workflow with comprehensive settings and options.",{"title":80,"path":81,"stem":82,"description":2150,"icon":85,"children":-1},"Proven strategies and recommendations for maximizing the effectiveness of your content automation.",1777351956884]