Finding where a shortcode comes from

I have to change a few things in a page that I have not created. I have to insert some text inside a contact form. When I go to edit that page all I see is some shortcode. It’s a custom shortcode that looks like [companyName_apply_form]. I have no idea where it comes from. It’s not coming from the contact form plugin that created the other contact forms in the page and I also can’t find anything in the template files. Any idea where a custom shortcode like that may come from?

2 Answers
2

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")'

Leave a Comment