Categories
CMS Mastering Development Wordpress

Trouble Accessing Gravity Forms API (GFAPI)

I’m having trouble figuring out where I should be registering my function in such a way that I can access the Gravity Forms API (GFAPI). At first glance, this may appear to be native to Gravity Forms, but I think I’m just missing some basic understanding of how WordPress uses hooks and registers functions. The […]

Categories
CMS Mastering Development Wordpress

Gravity Forms Button Text

I am creating several Gravity Forms that use a button instead of an input to submit. I got the button working, but I was wondering how I can use the button text in the admin panel, instead of hard-coding the value? Screenshot: https://ibb.co/4MtGMmZ Here is my button code: add_filter( ‘gform_submit_button’, ‘form_submit_button’, 10, 2 ); function […]