protected function set_textarea_size( $options ) {
		if ( isset( $options['size'] ) ) {
			list( $cols, $rows ) = explode( 'x', $options['size'] );
		} else {
			// If the "size" attribute was not specified, we will just look for the regular
			// columns and rows attributes, using sane defaults if these do not exist on
			// the attributes array. We'll then return this entire options array back.
			$cols = Arr::get( $options, 'cols', 50 );

			$rows = Arr::get( $options, 'rows', 10 );
		}

		return array_merge( $options, compact( 'cols', 'rows' ) );
	}
protected function set_textarea_size( $options ) {
		if ( isset( $options['size'] ) ) {
			list( $cols, $rows ) = explode( 'x', $options['size'] );
		} else {
			// If the "size" attribute was not specified, we will just look for the regular
			// columns and rows attributes, using sane defaults if these do not exist on
			// the attributes array. We'll then return this entire options array back.
			$cols = Arr::get( $options, 'cols', 50 );

			$rows = Arr::get( $options, 'rows', 10 );
		}

		return array_merge( $options, compact( 'cols', 'rows' ) );
	}
protected function set_textarea_size ( $ options ) { if ( isset ( $ options [ 'size' ] ) ) { list ( $ cols , $ rows ) = explode ( 'x' , $ options [ 'size' ] ) ; } else { // If the "size" attribute was not specified, we will just look for the regular // columns and rows attributes, using sane defaults if these do not exist on // the attributes array. We'll then return this entire options array back. $ cols = Arr :: get ( $ options , 'cols' , 50 ) ; $ rows = Arr :: get ( $ options , 'rows' , 10 ) ; } return array_merge ( $ options , compact ( 'cols' , 'rows' ) ) ; }
Set the text area size on the attributes.

@param  array $options
@return array
Set the text area size on the attributes .