bbp_get_reply_author_link

  • apply_filters( 'bbp_get_reply_author_link', $author_link, $args )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 1000
      			} else {
      				$author_link = join( $sep, $author_links );
      			}
      
      		// No replies so link is empty
      		} else {
      			$author_link = '';
      		}
      
      		return apply_filters( 'bbp_get_reply_author_link', $author_link, $args );
      	}
      
      /**
       * Output the author url of the reply
       *
       * @since bbPress (r2667)
       *
       * @param int $reply_id Optional. Reply id
       * @uses bbp_get_reply_author_url() To get the reply author url
       */
      

Hook: add_filter: bbp_get_reply_author_link instances (3)

  • add_filter( 'bbp_get_reply_author_link',      'wp_rel_nofollow' )
    $tag: bbp_get_reply_author_link
    $function_to_add: wp_rel_nofollow
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-hooks.php :: Trac Source Line: 309
      add_filter( 'bbp_edit_topic_pre_content', 'balanceTags'     );
      add_filter( 'bbp_edit_topic_pre_content', 'wp_rel_nofollow' );
      add_filter( 'bbp_edit_topic_pre_content', 'wp_filter_kses'  );
      
      // Add number format filter to functions requiring numeric output
      add_filter( 'bbp_get_forum_topic_count',       'bbp_number_format' );
      add_filter( 'bbp_get_forum_topic_reply_count', 'bbp_number_format' );
      
      // No follow and stripslashes on user profile links
      add_filter( 'bbp_get_reply_author_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_reply_author_link',      'stripslashes'    );
      add_filter( 'bbp_get_topic_author_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_topic_author_link',      'stripslashes'    );
      add_filter( 'bbp_get_user_favorites_link',    'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_favorites_link',    'stripslashes'    );
      add_filter( 'bbp_get_user_subscribe_link',    'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_subscribe_link',    'stripslashes'    );
      add_filter( 'bbp_get_user_profile_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_profile_link',      'stripslashes'    );
      add_filter( 'bbp_get_user_profile_edit_link', 'wp_rel_nofollow' );
      
  • add_filter( 'bbp_get_reply_author_link',      'stripslashes'    )
    $tag: bbp_get_reply_author_link
    $function_to_add: stripslashes
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-hooks.php :: Trac Source Line: 310
      add_filter( 'bbp_edit_topic_pre_content', 'wp_rel_nofollow' );
      add_filter( 'bbp_edit_topic_pre_content', 'wp_filter_kses'  );
      
      // Add number format filter to functions requiring numeric output
      add_filter( 'bbp_get_forum_topic_count',       'bbp_number_format' );
      add_filter( 'bbp_get_forum_topic_reply_count', 'bbp_number_format' );
      
      // No follow and stripslashes on user profile links
      add_filter( 'bbp_get_reply_author_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_reply_author_link',      'stripslashes'    );
      add_filter( 'bbp_get_topic_author_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_topic_author_link',      'stripslashes'    );
      add_filter( 'bbp_get_user_favorites_link',    'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_favorites_link',    'stripslashes'    );
      add_filter( 'bbp_get_user_subscribe_link',    'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_subscribe_link',    'stripslashes'    );
      add_filter( 'bbp_get_user_profile_link',      'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_profile_link',      'stripslashes'    );
      add_filter( 'bbp_get_user_profile_edit_link', 'wp_rel_nofollow' );
      add_filter( 'bbp_get_user_profile_edit_link', 'stripslashes'    );
      
  • add_filter( 'bbp_get_reply_author_link',    'bbp_suppress_private_author_link', 10, 2 )
    $tag: bbp_get_reply_author_link
    $function_to_add: bbp_suppress_private_author_link
    $priority: 10
    $accepted_args: 2

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-hooks.php :: Trac Source Line: 361
      add_filter( 'wp_insert_post_data', 'bbp_fix_post_author', 30, 2 );
      
      // Suppress private forum details
      add_filter( 'bbp_get_forum_topic_count',    'bbp_suppress_private_forum_meta',  10, 2 );
      add_filter( 'bbp_get_forum_reply_count',    'bbp_suppress_private_forum_meta',  10, 2 );
      add_filter( 'bbp_get_forum_post_count',     'bbp_suppress_private_forum_meta',  10, 2 );
      add_filter( 'bbp_get_forum_freshness_link', 'bbp_suppress_private_forum_meta',  10, 2 );
      add_filter( 'bbp_get_author_link',          'bbp_suppress_private_author_link', 10, 2 );
      add_filter( 'bbp_get_topic_author_link',    'bbp_suppress_private_author_link', 10, 2 );
      add_filter( 'bbp_get_reply_author_link',    'bbp_suppress_private_author_link', 10, 2 );
      
      /**
       * Add filters to anonymous post author data
       *
       * This is used to clean-up any anonymous user data that is submitted via the
       * new topic and new reply forms.
       *
       * @uses add_filter() To add filters
       */
      function bbp_pre_anonymous_filters () {
      

Comments are closed.