Skip to content

Method

Get the field label.

get_label( )

public

Return

string The field label.

Source

public function get_label() {
    /**
     * Filters the form field label.
     *
     * @param string                    $label The field label.
     * @param Theme_My_Login_Form_Field $field The field object.
     */
    return apply_filters( 'tml_get_form_field_label', $this->label, $this );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.