This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Additional content from Oshin page builder is not indexed with the Relevanssi search plugin | |
* The Oshin page builder stores it's content in the 'wp_postmeta' table | |
* The function adds this content to the relevanssi index | |
* | |
* Oshin: 3.1 (http://brandexponents.com/oshin/) | |
* Relevanssi: 3.5.2 (http://www.relevanssi.com/) | |
*/ | |
function add_extra_content($content, $post) { | |
global $wpdb; |