Changeset 10139 for trunk/src/bp-messages/bp-messages-star.php
- Timestamp:
- 09/25/2015 12:02:25 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-messages/bp-messages-star.php (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-star.php
r9951 r10139 4 4 * 5 5 * @since BuddyPress (2.3.0) 6 */ 6 * 7 * @package BuddyPress 8 * @subpackage MessagesStar 9 */ 10 11 // Exit if accessed directly. 12 defined( 'ABSPATH' ) || exit; 7 13 8 14 /** UTILITY **************************************************************/ … … 11 17 * Return the starred messages slug. Defaults to 'starred'. 12 18 * 13 * @since BuddyPress (2.3.0)19 * @since 2.3.0 14 20 * 15 21 * @return string … … 19 25 * Filters the starred message slug. 20 26 * 21 * @since BuddyPress (2.3.0)27 * @since 2.3.0 22 28 * 23 29 * @param string … … 29 35 * Function to determine if a message ID is starred. 30 36 * 31 * @since BuddyPress (2.3.0)37 * @since 2.3.0 32 38 * 33 39 * @param int $mid The message ID. Please note that this isn't the message thread ID. … … 56 62 * Output the link or raw URL for starring or unstarring a message. 57 63 * 58 * @since BuddyPress (2.3.0)64 * @since 2.3.0 59 65 * 60 66 * @param array $args See bp_get_the_message_star_action_link() for full documentation. … … 66 72 * Return the link or raw URL for starring or unstarring a message. 67 73 * 68 * @since BuddyPress (2.3.0)74 * @since 2.3.0 69 75 * 70 76 * @param array $args { … … 207 213 * Filters the star action URL for starring / unstarring a message. 208 214 * 209 * @since BuddyPress (2.3.0)215 * @since 2.3.0 210 216 * 211 217 * @param string $retval URL for starring / unstarring a message. … … 220 226 * Filters the star action link, including markup. 221 227 * 222 * @since BuddyPress (2.3.0)228 * @since 2.3.0 223 229 * 224 230 * @param string $retval Link for starring / unstarring a message, including markup. … … 231 237 * Save or delete star message meta according to a message's star status. 232 238 * 233 * @since BuddyPress (2.3.0)239 * @since 2.3.0 234 240 * 235 241 * @param array $args { … … 311 317 * Screen handler to display a user's "Starred" private messages page. 312 318 * 313 * @since BuddyPress (2.3.0)319 * @since 2.3.0 314 320 */ 315 321 function bp_messages_star_screen() { … … 319 325 * Fires right before the loading of the "Starred" messages box. 320 326 * 321 * @since BuddyPress (2.3.0)327 * @since 2.3.0 322 328 */ 323 329 do_action( 'bp_messages_screen_star' ); … … 329 335 * Screen content callback to display a user's "Starred" messages page. 330 336 * 331 * @since BuddyPress (2.3.0)337 * @since 2.3.0 332 338 */ 333 339 function bp_messages_star_content() { … … 345 351 * Filter message threads by those starred by the logged-in user. 346 352 * 347 * @since BuddyPress (2.3.0)353 * @since 2.3.0 348 354 * 349 355 * @param array $r Current message thread arguments. … … 365 371 * Action handler to set a message's star status for those not using JS. 366 372 * 367 * @since BuddyPress (2.3.0)373 * @since 2.3.0 368 374 */ 369 375 function bp_messages_star_action_handler() { … … 402 408 * Bulk manage handler to set the star status for multiple messages. 403 409 * 404 * @since BuddyPress (2.3.0)410 * @since 2.3.0 405 411 */ 406 412 function bp_messages_star_bulk_manage_handler() { … … 475 481 * The dashicons font is used for the star / unstar icon. 476 482 * 477 * @since BuddyPress (2.3.0)483 * @since 2.3.0 478 484 */ 479 485 function bp_messages_star_enqueue_scripts() { … … 489 495 * Add the "Add star" and "Remove star" options to the bulk management list. 490 496 * 491 * @since BuddyPress (2.3.0)497 * @since 2.3.0 492 498 */ 493 499 function bp_messages_star_bulk_management_dropdown() { … … 504 510 * Add CSS class for the current message depending on starred status. 505 511 * 506 * @since BuddyPress (2.3.0)512 * @since 2.3.0 507 513 * 508 514 * @param array $retval Current CSS classes
Note: See TracChangeset
for help on using the changeset viewer.