Help with filters
-
Hello all,
I am fairly new to playing with code and need a little help applying a filter. I am using the plugin “wp job manager” and wish to change a couple of the form fields it has mu users fill out.
I asked the plugin creator and they sent me this reply:
“Use this filter to change the values via your own function: https://github.com/mikejolley/WP-Job-Manager/blob/master/includes/forms/class-wp-job-manager-form-submit-job.php#L92”From that and some how-to articles I put this in my functions file:
function name_field( $title ) { $title .= "Contact Name"; return $title; } add_filter('job_title','name_field' );
It did not work and I am sure to most of you it is obvious why but I have no idea lol. Any advice would be GREATLY appreciated.
Thanks
Chris
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help with filters’ is closed to new replies.