[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/classes/ -> class-bp-button.php (summary)

Core component classes.

File Size: 449 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Button:: (4 methods):
  __construct()
  backward_compatibility_args()
  contents()
  display()


Class: BP_Button  - X-Ref

API to create BuddyPress buttons.

__construct( $args = '' )   X-Ref
Builds the button based on class parameters.

param: array|string $args See {@BP_Button}.
since: 1.2.6

backward_compatibility_args( $r = array()   X-Ref
Provide backward compatibility for deprecated button arguments.

param: array $r See {@link BP_Button} class for full documentation.
return: array
since: 2.7.0.

contents()   X-Ref
Return the markup for the generated button.

return: string Button markup.
since: 1.2.6

display()   X-Ref
Output the markup of button.

since: 1.2.6



Generated: Tue Mar 19 01:01:09 2024 Cross-referenced by PHPXref 0.7.1