Viewing 1 replies (of 1 total)
  • Thread Starter oberoc

    (@oberoc)

    What I did was added in post_status = array('draft', 'pending', 'publish'); line in the get_search_results function to have it search all posts

Viewing 1 replies (of 1 total)
  • The topic ‘Example for get_search_results’ is closed to new replies.