Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By asghar on
include_once drupal_get_path('module', 'ext_search_page').'/ext_search_page.pages.inc';
$page = search_api_page_load((int) 1);
$page->ext_search_options = unserialize($page->ext_search_options);
$keys = urldecode($string);
$results = ext_search_page_search_execute($page, $keys, array('type'=>array('question'),'status' => array('yes')), FALSE, 3, 0);