bps_get_directory_data ()
描述
源
文件:bp-search / bp-search-functions.php
函数bps_get_directory_data() {global $bps_directory_data;$ data =数组();$cookie = apply_filters('bps_cookie_name', 'bps_directory');如果(!定义('DOING_AJAX') {$data = isset ($bps_directory_data) ?$ bps_directory_data:数组();} elseif (isset ($_COOKIE[$cookie])) {$current = bps_current_page();parse_str(stripslashes($_COOKIE[$cookie]), $data);如果($ data['页']! =当前美元){$ data =数组();}} return apply_filters('bps_directory_data', $data); }