bp_button_ . $component . _ . $id

  • apply_filters( 'bp_button_' . $component . '_' . $id, $this->contents, $this, $before, $after )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-classes.php :: Trac Source Line: 1068
      			$this->link_class = ' class="' . $link_class . '"';
      
      		if ( !empty( $link_text ) )
      			$this->link_text  = $link_text;
      
      		// Build the button
      		$this->contents = $before . '<a'. $this->link_href . $this->link_title . $this->link_id . $this->link_rel . $this->link_class . '>' . $this->link_text . '</a>' . $after;
      
      		// Allow button to be manipulated externally
      		$this->contents = apply_filters( 'bp_button_' . $component . '_' . $id, $this->contents, $this, $before, $after );
      	}
      
      	/**
      	 * contents()
      	 *
      	 * Return contents of button
      	 *
      	 * @return string
      	 */
      	function contents() {
      

Comments are closed.