Changeset 6573 for trunk/src/includes/search/template.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/search/template.php
r6438 r6573 19 19 * 20 20 * @param array $args All the arguments supported by {@link WP_Query} 21 * @uses bbp_get_view_all() Are we showing all results?22 * @uses bbp_get_public_status_id() To get the public status id23 * @uses bbp_get_closed_status_id() To get the closed status id24 * @uses bbp_get_spam_status_id() To get the spam status id25 * @uses bbp_get_trash_status_id() To get the trash status id26 * @uses bbp_get_forum_post_type() To get the forum post type27 * @uses bbp_get_topic_post_type() To get the topic post type28 * @uses bbp_get_reply_post_type() To get the reply post type29 * @uses bbp_get_replies_per_page() To get the replies per page option30 * @uses bbp_get_paged() To get the current page value31 * @uses bbp_get_search_terms() To get the search terms32 * @uses WP_Query To make query and get the search results33 * @uses bbp_use_pretty_urls() To check if the site is using pretty URLs34 * @uses bbp_get_search_url() To get the forum search url35 * @uses paginate_links() To paginate search results36 * @uses apply_filters() Calls 'bbp_has_search_results' with37 * bbPress::search_query::have_posts()38 * and bbPress::reply_query39 21 * @return object Multidimensional array of search information 40 22 */ … … 169 151 * @since 2.3.0 bbPress (r4579) 170 152 * 171 * @uses WP_Query bbPress::search_query::have_posts() To check if there are more172 * search results available173 153 * @return object Search information 174 154 */ … … 191 171 * @since 2.3.0 bbPress (r4579) 192 172 * 193 * @uses WP_Query bbPress::search_query::the_post() To get the current search result194 173 * @return object Search information 195 174 */ … … 209 188 * 210 189 * @since 2.3.0 bbPress (r4579) 211 *212 * @uses bbp_get_search_title()213 190 */ 214 191 function bbp_search_title() { … … 220 197 * 221 198 * @since 2.3.0 bbPress (r4579) 222 *223 * @uses bbp_get_search_terms()224 199 */ 225 200 function bbp_get_search_title() { … … 245 220 * 246 221 * @since 2.3.0 bbPress (r4579) 247 *248 * @uses bbp_get_search_url() To get the search url249 222 */ 250 223 function bbp_search_url() { … … 256 229 * @since 2.3.0 bbPress (r4579) 257 230 * 258 * @uses user_trailingslashit() To fix slashes259 * @uses trailingslashit() To fix slashes260 * @uses bbp_get_forums_url() To get the root forums url261 * @uses bbp_get_search_slug() To get the search slug262 * @uses add_query_arg() To help make unpretty permalinks263 231 * @return string Search url 264 232 */ … … 286 254 * 287 255 * @since 2.4.0 bbPress (r4928) 288 *289 * @uses bbp_get_search_url() To get the search url290 256 */ 291 257 function bbp_search_results_url() { … … 297 263 * @since 2.4.0 bbPress (r4928) 298 264 * 299 * @uses user_trailingslashit() To fix slashes300 * @uses trailingslashit() To fix slashes301 * @uses bbp_get_forums_url() To get the root forums url302 * @uses bbp_get_search_slug() To get the search slug303 * @uses add_query_arg() To help make unpretty permalinks304 265 * @return string Search url 305 266 */ … … 341 302 * 342 303 * @param string $search_terms Optional. Search terms 343 * @uses bbp_get_search_terms() To get the search terms344 304 */ 345 305 function bbp_search_terms( $search_terms = '' ) { … … 356 316 * 357 317 * @param string $passed_terms Optional. Search terms 358 * @uses sanitize_title() To sanitize the search terms359 * @uses get_query_var() To get the search terms from query variable360 318 * @return bool|string Search terms on success, false on failure 361 319 */ … … 382 340 * 383 341 * @since 2.3.0 bbPress (r4579) 384 *385 * @uses bbp_get_search_pagination_count() To get the search result pagination count386 342 */ 387 343 function bbp_search_pagination_count() { … … 394 350 * @since 2.3.0 bbPress (r4579) 395 351 * 396 * @uses bbp_number_format() To format the number value397 * @uses apply_filters() Calls 'bbp_get_search_pagination_count' with the398 * pagination count399 352 * @return string Search pagination count 400 353 */ … … 435 388 * 436 389 * @since 2.3.0 bbPress (r4579) 437 *438 * @uses bbp_get_search_pagination_links() To get the search pagination links439 390 */ 440 391 function bbp_search_pagination_links() { … … 447 398 * @since 2.3.0 bbPress (r4579) 448 399 * 449 * @uses apply_filters() Calls 'bbp_get_search_pagination_links' with the450 * pagination links451 400 * @return string Search pagination links 452 401 */
Note: See TracChangeset
for help on using the changeset viewer.