add_option_textarea

Arguments

  • [string] $wpml_page – the WPML admin page it applies to (e.g. PLUGIN_FOLDER/menu/languages.php)
  • [string] $option_label – description of the option that will show up on the generated form
  • [string] $option_name – the option name that will be saved to database and be accessible through the settings property
  • [string] $group_name – on each page there can be more groups of options (different forms) that are generated by packages. This will set the group that this option will belong to. (default: ‘Extra options’) – [optional]
  • [string] $default_value – default value of the option (e.g. ‘checked’)- [optional]
  • [array] $extra_attributes – extra attributes for the <input> tag (e.g. array(‘class’=>’some_fancy_class’))- [optional]