In the main cforms plugin folder, find the file called my-functions.php
. You can add functions to that file as needed. Its pretty well-commented.
What you want to do is add a function called my_cforms_logic
or my_cforms_action
, which get triggered at several different hooks during form submission and processing.
According to the docs, you can move the my-functions.php
file (annd any css tweaks you make) into a separate folder called “cforms-custom” to protect your customizations from future upgrades…
Related Posts:
- cforms plugin function “my_cforms_logic” (for writing custom logic), is running 5 times
- How to find an option in the database?
- Beginner question: Accessing js script in plugin
- “Add Media” button in custom plugin
- Disabled plugins are they security holes – rumor or reality?
- How to implement WordPress plugin update that modifies the database?
- Looking for a Table of Contents (TOC) plugin for WordPress
- Writing test cases for a WordPress Plugin that has translations
- Can’t install new plugins because of the error “Could not create directory”
- Customize plugin update “new version is available” text
- Core framework/helpers for logging stuff?
- Disable Specific Widgets on Selected Pages of a WordPress Website?
- How to handel multiple checkbox field in the admin settings page with Settings API
- Are orders of magnitude used for “Active Installs”?
- To remove plugin notices for non-admin users
- Loading shortcode with ajax
- Files being generated in multiple directories supposedly by WordPress (advanced_settings.php and common_config.php)
- Creating Custom Meta Boxes on Plugin Option Page
- An old plugin self-made stoped sending mail
- Nested shortcodes
- Is there a neater way to do this?
- How can I use RDFa with WordPress?
- plugings request url is the old url
- Authorization header malformed. [jwt_auth_bad_auth_header]
- Changing image size to full size in Gutenberg’s block gallery
- Unable to activate wordpress importer after installing it
- Trying to count the total number of paragraphs inside a blog article
- Saving Custom Post types and fields to a custom table
- How to Create a Custom Plugin Permalink
- Inserting HTML tag with ACF into shortcode
- Loading jQuery UI in the head
- WordPress JSON API remove posts from a specific category
- How can I get automatically anchors for every h2-heading?
- How to delete page by deactivating plugin
- Trouble with plugin styles in admin area of WordPress
- How to edit content before post update
- Remove product-category slug plugin works with 1 subcategroy not with 2
- How can I add few css or js file into my plugin
- Magic Fields gives error File ___ doesn’t exist?
- Adding (image) caching to my Tumblr widget
- do_action Nested List
- wp-load.php redeclares classes
- Where should custom post types be registered in a plugin?
- plugin uninstall function drop the tables, but shows errors on admin
- How to use template inside plugin shortcode with variables for big HTML code
- Woocommerce – WordPress Roles & Capabilities
- Changing location of “About me” section
- Showing the results of a search (made through a 3rd party search provider) inside an article
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- foreach loop displaying below content summary
- wp_mail – using a custom field value
- WP e-Commerce Gold Cart with Plugin Built Into Theme
- Regenerate Thumbnails Plugin successfully updated my thumbnails but image src won’t change to new image size?
- How to add a custom form to a plugin’s setting page
- update_option creates an option, which empties on a blog reload
- How can i find the cron jobs that run on my site and then move them to the server side?
- Why does “updated_post_meta” did not fire when uploading media other than image?
- Use a custom block in another block
- Hide fields in woocommerce settings
- Help with autofilling field
- I/O Usage goes max. just after every new post published and WP site down
- How to copy the all WordPress media items to another custom plugin folder?
- Bulk Edit Media Library alt, caption, image names
- WordPress is redirecting me to homepage
- See which user role / capability is needed to use a plugin
- Moving a few select DB tables to a new WP instance
- Custom REST API POST Endpoint Not Working, 404 Error
- Error messages in Multilingual part of the site
- “Fire Secure” menu item
- WordPress how do I change images used in plugins?
- Admin login substantially slower on production server
- Can we rename a plugin directory for a already launched plugin?
- Admin Custom Login loses settings on Code and Data migration
- Admin page and admin menu. Permissions plugin
- function of parent not working in childtheme
- WordPress core update fails – no issues with plugin updates
- How to create a new database table whenever user changes options
- Am I correctly adding styles to plugin?
- How to hook into search results template or query?
- How to redirect from plugin page
- Can’t redirect to previous page after using GET
- What is the Object for WP_Error Class?
- Which part of the plugin to change so the updater won’t register the next version?
- Hide/Show panel not showing – ACF
- How do I locate specific file in a post that affects ssl?
- How to make only selected posts appear on a selected wordpress page
- Publishing tweets from wordpress [closed]
- WordPress Plugins Error
- Any way to hook into WP after a page displays?
- selecting options from another form
- How to remove . (several lines of customized programming code appear here) from wordpress pages
- Translate text for empty product
- WordPress Smart Iframe Browser [closed]
- Suitable hook when creating, updating and deleting posts programmatically
- Refresh server side rendered block in Gutenberg without changing attributes or its content
- Disable auto-embed feature when pasting links in Gutenberg editor?
- How to add product thumbnail on orders list on backend?
- How can I gather forums posted by visitors from different sites in one place? [duplicate]
- Does anyone recognize these table names?
- On WordPress.org Plugin repository, Last Updated Date doesn’t match with Plugin Version Update Date