Changeset 10096 for trunk/src/bp-forums/bp-forums-functions.php
- Timestamp:
- 09/12/2015 05:51:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-forums/bp-forums-functions.php
r9819 r10096 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Forums 7 */ 8 9 // Exit if accessed directly 6 * @subpackage ForumsFunctions 7 */ 8 9 // Exit if accessed directly. 10 10 defined( 'ABSPATH' ) || exit; 11 11 … … 15 15 * Is see bbPress 2.x is installed and active? 16 16 * 17 * @since BuddyPress (1.6.0)17 * @since 1.6.0 18 18 * 19 19 * @return boolean True if bbPress 2.x is active, false if not. … … 41 41 * the referenced file exists. 42 42 * 43 * @since BuddyPress (1.2.0)43 * @since 1.2.0 44 44 * 45 45 * @return boolean True if option exists, false if not. … … 59 59 * Checks $bp pages global and looks for directory page 60 60 * 61 * @since BuddyPress (1.5.0)61 * @since 1.5.0 62 62 * 63 63 * @global BuddyPress $bp The one true BuddyPress instance. … … 244 244 * Filters the found forum topics for provided arguments. 245 245 * 246 * @since BuddyPress (1.1.0)246 * @since 1.1.0 247 247 * 248 248 * @param array $topics Array of found topics. Passed by reference. … … 361 361 * Fires after a new forum topic has been created. 362 362 * 363 * @since BuddyPress (1.0.0)363 * @since 1.0.0 364 364 * 365 365 * @param int $topic_id ID of the newly created topic post. … … 514 514 * Filters the total topic count for the site. 515 515 * 516 * @since BuddyPress (1.5.0)516 * @since 1.5.0 517 517 * 518 518 * @param int $count Total topic count. … … 526 526 * Used to prevent dupes. 527 527 * 528 * @since BuddyPress (1.6.0)528 * @since 1.6.0 529 529 * 530 530 * @param string $text The text of the comment. … … 564 564 * Filters whether a user has already left this particular reply on a given post. 565 565 * 566 * @since BuddyPress (1.6.0)566 * @since 1.6.0 567 567 * 568 568 * @param bool $reply_exists Whether or not a reply exists. … … 577 577 * 578 578 * @access private 579 * @since BuddyPress (1.7.0)579 * @since 1.7.0 580 580 * 581 581 * @global WPDB $wpdb WordPress database access object. … … 632 632 * BB_Query. 633 633 * 634 * @since BuddyPress (1.5.0)634 * @since 1.5.0 635 635 * 636 636 * @param int $user_id ID of the user whose replied topics are being counted. … … 675 675 * Filters the total number of topics replied to by a given user. 676 676 * 677 * @since BuddyPress (1.5.0)677 * @since 1.5.0 678 678 * 679 679 * @param int $count Total number of topics replied to by a given user. … … 886 886 * Fires if there was a new post created. 887 887 * 888 * @since BuddyPress (1.0.0)888 * @since 1.0.0 889 889 * 890 890 * @param int $post_id ID of the newly created forum post. … … 946 946 * Filters BP-specific details about a set of posts. 947 947 * 948 * @since BuddyPress (1.5.0)948 * @since 1.5.0 949 949 * 950 950 * @param array $posts Array of posts holding BP-specific details. … … 998 998 * Return the parent forum ID for the bbPress abstraction layer. 999 999 * 1000 * @since BuddyPress (1.5.0)1000 * @since 1.5.0 1001 1001 * 1002 1002 * @return int Forum ID. … … 1007 1007 * Filters the parent forum ID for the bbPress abstraction layer. 1008 1008 * 1009 * @since BuddyPress (1.5.0)1009 * @since 1.5.0 1010 1010 * 1011 1011 * @param int BP_FORUMS_PARENT_FORUM_ID The Parent forum ID constant. … … 1020 1020 * filter 'bp_forums_enable_global_directory_stickies', to change this behavior. 1021 1021 * 1022 * @since BuddyPress (1.5.0)1022 * @since 1.5.0 1023 1023 * 1024 1024 * @return bool True if stickies should be displayed at the top of the global … … 1030 1030 * Filters whether or not sticky topics should be broken out of regular topic order. 1031 1031 * 1032 * @since BuddyPress (1.5.0)1032 * @since 1.5.0 1033 1033 * 1034 1034 * @param bool $value Whether or not to break out of topic order. … … 1059 1059 * during the forum topic loop. If no cache and link is embeddable, cache it. 1060 1060 * 1061 * @since BuddyPress (1.5.0)1061 * @since 1.5.0 1062 1062 * 1063 1063 * @see BP_Embed … … 1078 1078 * 1079 1079 * @package BuddyPress_Forums 1080 * @since BuddyPress (1.5.0)1080 * @since 1.5.0 1081 1081 */ 1082 1082 function bp_embed_forum_cache( $cache, $id, $cachekey ) { … … 1089 1089 * Wrapper function for {@link bb_update_postmeta()}. 1090 1090 * 1091 * @since BuddyPress (1.5.0)1091 * @since 1.5.0 1092 1092 */ 1093 1093 function bp_embed_forum_save_cache( $cache, $cachekey, $id ) {
Note: See TracChangeset
for help on using the changeset viewer.