apply_filters( "bp_button_{$this->component}_", string $contents, BP_Button $this, string $before, string $after, array $r )

Filters the button based on class parameters.


Description Description

This filter is a dynamic filter based on component and component ID and allows button to be manipulated externally.


Parameters Parameters

$contents

HTML being used for the button.

$this

Current BP_Button instance.

$before

HTML appended before the actual button.

$after

HTML appended after the actual button.

$r

Parsed button arguments.


Top ↑

Source Source

File: bp-core/classes/class-bp-button.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Added $r as a parameter.
1.2.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.