source/php/Search.php
public function moduleSearchModuleDescription($search)
    {
        global $wpdb;

        if ($this->isModuleSearch()) {
            $like = '%' . $wpdb->esc_like($_GET['s']) . '%';
            $meta_description = $wpdb->prepare("OR ({$wpdb->postmeta}.meta_value LIKE %s)", $like);
            // Add the meta description OR condition between one of the existing OR conditions.
            $search = str_replace('OR', $meta_description . ' OR', $search);
        }

        return $search;
    }
public function moduleSearchModuleDescription($search)
    {
        global $wpdb;

        if ($this->isModuleSearch()) {
            $like = '%' . $wpdb->esc_like($_GET['s']) . '%';
            $meta_description = $wpdb->prepare("OR ({$wpdb->postmeta}.meta_value LIKE %s)", $like);
            // Add the meta description OR condition between one of the existing OR conditions.
            $search = str_replace('OR', $meta_description . ' OR', $search);
        }

        return $search;
    }
public function moduleSearchModuleDescription ( $ search ) { global $ wpdb ; if ( $ this -> isModuleSearch ( ) ) { $ like = '%' . $ wpdb -> esc_like ( $ _GET [ 's' ] ) . '%' ; $ meta_description = $ wpdb -> prepare ( "OR ({$wpdb->postmeta}.meta_value LIKE %s)" , $ like ) ; // Add the meta description OR condition between one of the existing OR conditions. $ search = str_replace ( 'OR' , $ meta_description . ' OR' , $ search ) ; } return $ search ; }
Adds the OR condition to search the module description on module edit pages.
@param string   $search Search SQL for WHERE clause.
@return string
Adds the OR condition to search the module description on module edit pages .