bp_get_button

  • apply_filters( 'bp_get_button', $button->contents, $args, $button )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 349
      	 *
      	 * @param array $button
      	 * @return string
      	 * @see bp_add_friend_button()
      	 * @see bp_send_public_message_button()
      	 * @see bp_send_private_message_button()
      	 */
      	function bp_get_button( $args = '' ) {
      		$button = new BP_Button( $args );
      		return apply_filters( 'bp_get_button', $button->contents, $args, $button );
      	}
      
      /**
       * Truncates text.
       *
       * Cuts a string to the length of $length and replaces the last characters
       * with the ending if the text is longer than length.
       *
       * This function is borrowed from CakePHP v2.0, under the MIT license. See
      

Comments are closed.