apply_filters( 'bp_xprofile_field_type_textarea_editor_args', array $args, string $context )

Filters the arguments passed to wp_editor() in richtext xprofile fields.

Parameters Parameters


(array) Array of optional arguments. See wp_editor().

  • 'teeny'
    (bool) Whether to use the teeny version of TinyMCE. Default true.
  • 'media_buttons'
    (bool) Whether to show media buttons. Default false.
  • 'quicktags'
    (bool) Whether to show the quicktags buttons. Default true.
  • 'textarea_rows'
    (int) Number of rows to display in the editor. Defaults to 1 in the 'admin' context, and 10 in the 'edit' context.


(string) The display context. 'edit' when the markup is intended for the profile edit screen, 'admin' when intended for the Profile Fields Dashboard panel.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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