How to call a plugin function from front end form

Output The Form Can be done via Shortcode API. What Should Be Set on Form Action Leave it blank <form action=””>. Make sure you avoid using reserved name as form field name like name or p. Otherwise your form submission will hit 404. How Can We Validate or Process The Form? Hook into template_redirect. add_action( … Read more

How to check plugins for malicious code?

There are several options/plugins to do that but nothing can provide you with 100% security. Following good practices, daily/weekly backups and using themes/plugins that follow good code practices will usually help you to stay away of troubles. But again nothing will give you 100% security. As for plugins you can try several that will give … Read more

Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]

If you have the form/field object you can retrieve a comma separated string containing the fields selected choices by using the GF_Field::get_value_export() method which was added in Gravity Forms 1.9.13. If you are only going to use it with one or two fields you could do something like this: $field_id = 4; $field = GFFormsModel::get_field( … Read more