Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change Label or Add a Placeholder to Matador Application Fields
function matador_tutorial_application_fields( $fields ) {
$fields['firstName']['label'] = 'Label Name'; // changes the label
$fields['firstName']['attributes']['placeholder'] = 'Placeholder Content'; // Adds a placeholder
return $fields;
add_filter( 'matador_application_fields_structure', 'matador_tutorial_application_fields' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.