Home / Form Helper (snippet 4)
Duplicate Snippet

Embed Snippet on Your Site

Form Helper (snippet 4)

Textarea Field Example

Code Preview
php
<?php
WCVendors_Pro_Form_Helper::textarea(
					apply_filters(
						'wcv_product_description',
						array(
							'post_id'           => $post_id,
							'id'                => 'post_content',
							'label'             => __( 'Product description', 'wcvendors-pro' ),
							'value'             => $product_description,
							'placeholder'       => __( 'Please add a full description of your product here', 'wcvendors-pro' ),
							'custom_attributes' => $custom_attributes,
						)
					)
				);

Comments

Add a Comment