AnsPress_Form::placeholder()

Description #

Output placeholder attribute of current field.

Changelog #

VersionDescription
2.0.1Introduced.

Source #

File: includes/class/form.php

	private function placeholder() {
		return ! empty( $this->field['placeholder'] ) ? ' placeholder="' . $this->field['placeholder'] . '"' : '';
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment