Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jeremyescott/03cb08b2b6d8446c2de62586d45a8045 to your computer and use it in GitHub Desktop.
Save jeremyescott/03cb08b2b6d8446c2de62586d45a8045 to your computer and use it in GitHub Desktop.

Revisions

  1. jeremyescott created this gist Feb 5, 2018.
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    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' );