Viewing 1 replies (of 1 total)
  • It’s likely this code that’s running on every page load.

    //=========> Get Knowledgebase title
    global $wpdb;
    $getSql = $wpdb->get_results("Select ID From $wpdb->posts Where post_content Like '%[kbe_knowledgebase]%' And post_type <> 'revision'");
    
    foreach($getSql as $getRow) {
        $pageId = $getRow->ID;
    }
    define('KBE_PAGE_TITLE', $pageId);
Viewing 1 replies (of 1 total)
  • The topic ‘wait time increases when plugin is activated’ is closed to new replies.