Constructor for the textarea field type.

Source Source

File: bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php

	public function __construct() {

		$this->category = _x( 'Single Fields', 'xprofile field type category', 'buddypress' );
		$this->name     = _x( 'Multi-line Text Area', 'xprofile field type', 'buddypress' );
		$this->supports_richtext = true;

		$this->set_format( '/^.*$/m', 'replace' );

		 * Fires inside __construct() method for BP_XProfile_Field_Type_Textarea class.
		 * @since 2.0.0
		 * @param BP_XProfile_Field_Type_Textarea $this Current instance of
		 *                                              the field type textarea.
		do_action( 'bp_xprofile_field_type_textarea', $this );

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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