[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

BW_::bw_textarea() – Form a "textarea" field

You appear to be a bot. Output may be restricted

Description

Form a "textarea" field

Usage

BW_::bw_textarea( $name, $len, $text, $value, $rows, $args );

Parameters

$name
( string ) required – the field name
$len
( numeric ) required – the length of the field ( e.g. 40 )
$text
( string ) required – the label of the field (e.g. "Content" )
$value
( string ) required – the value to display. If NULL then the current value is extracted from $_REQUEST[$name]
$rows
( numeric ) optional default: 10 – the number of rows for the textarea field
$args
( mixed ) optional –

Returns

void

Source

File name: oik-bwtrace/libs/class-BW-.php
Lines:
1 to 22 of 22
  static function bw_textarea( $name, $len, $text, $value, $rows=10, $args=null ) {
    $lab = self::label( $name, $text );
    if ( $value === null ) {
      $value = bw_array_get( $_REQUEST, $name, null );
      bw_trace2( $value, "bw_textarea value" );
      $value = wp_strip_all_tags( $value );
      $value = stripslashes( $value );
    }
  
    $spellcheck = bw_array_get( $args, "#spellcheck", null );
    if ( null !== $spellcheck ) {
      $spellcheck = kv( "spellcheck", $spellcheck );
    }
    $itext = iarea( $name, $len, $value, $rows, $spellcheck );
        if ( self::is_table() ) {
            bw_tablerow(array($lab, $itext));
        } else {
            $class = bw_array_get( $args, '#class', null );
            bw_gridrow(array($lab, $itext), $class);
        }
    return;
  }
 
 View on GitHub View on Trac

Published: October 23, 2017 | Last updated: November 14, 2017

Information

Function name: BW_::bw_textarea
Class ref:
Plugin ref: oik-bwtrace – debug trace for WordPress
Version: 3.4.1
Sourcefile: libs/class-BW-.php
File ref: libs/class-BW-.php
Deprecated?: No
API Letters: B,T

Recent plugin updates

cookie-cat v1.4.6 Upgrade to cookie-cat v1.4.6 for PHP 8.1 & PHP 8.2 support. ...
oik-fields v1.54.0 oik-fields v1.54.0 caters for the deprecation of get_page_by_title() in WordPress 6.2. ...
oik-clone v2.3.1 Upgrade to oik-clone v2.3.1 for cloning ACF checkbox and multiple select fields and/or comments attached to posts. ...
sb-chart-block v1.2.4 sb-chart-block v1.2.4 uses the latest chart.js and is tested with WordPress 6.3 ...
sb-children-block v1.2.2 sb-children-block v1.2.2 has been tested with WordPress 6.3 and Gutenberg 16.3.0 ...

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: herb@bobbingwide.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2023. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 6.3.1. PHP: 7.4.33. Memory limit: 768M