/** * Strip tags and trim * * @since 1.3 */ protected function strip_trim($string) { return Codepress_Admin_Columns::strip_trim($string); }
/** * Prepare the value for being by sorting * * @since 1.3 */ private function prepare_sort_string_value($string) { // remove tags and only get the first 20 chars and force lowercase. $string = strtolower(substr(Codepress_Admin_Columns::strip_trim($string), 0, 20)); return $string; }