Created
February 5, 2018 20:03
-
-
Save jeremyescott/03cb08b2b6d8446c2de62586d45a8045 to your computer and use it in GitHub Desktop.
Revisions
-
jeremyescott created this gist
Feb 5, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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' );