Weather API
Live weather
Add User Field
This adds a field to the end of the "Your Details" section in the Profile form.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
quiz
// setup console.log("running"); let q = 1; const submit = document.getElementById("next-button"); const question = document.getElementById("question"); //…
Remove Terms Fields
If you would like to enable the terms and conditions, privacy policy and user contact consent…
Send New User Notifications
Send the new user notification after someone registers through the Charitable registration form.
Defining SendLayer Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
MemberPress: Add Currency Codes To MemberPress
This code snippet will add a custom currency to the MemberPress list of available currency codes.…
MemberPress: BuddyPress/BuddyBoss - Remove Users From All Groups, Forums, and Topics if Their Subscriptions Expire
When using MemberPress with BuddyPress/BuddyBoss, and MemberPress BuddyPress integration add-in users can be automatically assigned to…
Displaying WPForms Pro on Quiz and Survey Master Results Pages
This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.
google tag
google code
WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
Remove "p" tags Contact Form 7
Remove tags from the forms in the frontend
WordPress Post Views Counter Function
function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…