Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
Disable the space key with the special CSS class
This code snippet disables the space key. When a user presses the space key in these…
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Remove HealthAndBeautyBusiness Schema
This snippet removes HealthAndBeautyBusiness Schema
Create List of Child Pages
To show a list of Child pages on the Parent Page
Change Custom Amount Field Label
Filter the custom amount field description.
WP Simple Pay: Add Custom CSS Classes to the Payment Button
"Payment Button" refers to the button that launches an On-site Overlay or Stripe Checkout Payment Form.
Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
Append Post Count to Category Descriptions in LLMS Files
This snippet appends the post count to category descriptions shown in llms.txt
Set New User Role
Set the role of users who register through the Charitable registration form shortcode.
Add Custom Field From Donation Form On The Receipt Page
This is an example of how to show a field data someone entered in their donation…
VIsual Campaign Builder: Add HTML Tags To Display In The HTML/CODE Block
By design, Charitable allows only certain HTML to be displayed in the HTML/CODE Block of the…
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…
How to Customize the Labels for Image Choices
/* Position labels over images and hide them by default */ form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-label { position:…
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.