WordPress how to find where a shortcode comes from

Just use the Windows search bar in wp-content directory and search for companyName_apply_form. You should find the file where the shortcode is created.

To add a shortcode in WordPress you normally use this syntax:

'add_shortcode("shortcode_name", "function_name")'

So with basic linux skills, you can find the function_name + file that define the shortcode_name

grep "add_shortcode" * -r|grep submit_job_form

… and the results



Also published on Medium.

Leave a Reply

Your email address will not be published. Required fields are marked *