Do On Complete
Execute code whenever an EDD purchase is complete.
Add FES Vendor Dashboard Tab
Add a new tab to the Frontend Submissions vendor dashboard menu.
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
Disable The WP Admin Bar
Hide the WordPress Admin Bar for all users in the frontend.
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
aweber
push engage
agnomade
ads
How to Get the URL from the File Upload Form Field
/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…
Logout URL
This snippet creates a simple logout URL link that you can use as a shortcode.
Child Support Calculator
function child_support_calculator_shortcode() { // Enqueue the JavaScript wp_enqueue_script('child-support-calculator', get_template_directory_uri() . '/path-to-your-js-folder/child-support-calculator.js', array('jquery'), '1.0.0', true); ob_start(); include…
Enable Full WP_Editor on Product Fields
add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…
Filter to change Custom Post Type settings | Quick Event Manager
The plugin uses Custom Post Types for Events. The default setting for the post type is…
MemberPress: Export Account Type in CSV
Add the following code to add a new CSV export option for Corporate Accounts that includes…