Changeset 5642
- Timestamp:
- 07/10/2017 08:55:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5640 r5642 76 76 } 77 77 add_filter( 'bbp_before_get_breadcrumb_parse_args', 'wporg_support_breadcrumb' ); 78 79 /** 80 * Customize arguments for Subscribe/Unsubscribe link. 81 * 82 * Removes ' | ' separator added by BBP_Default::ajax_subscription(). 83 * 84 * @param array $args Arguments passed to bbp_get_user_subscribe_link(). 85 * @return array Filtered arguments. 86 */ 87 function wporg_support_subscribe_link( $args ) { 88 $args['before'] = ''; 89 90 return $args; 91 } 92 add_filter( 'bbp_after_get_user_subscribe_link_parse_args', 'wporg_support_subscribe_link' ); 78 93 79 94 /**
Note: See TracChangeset
for help on using the changeset viewer.