Do On Complete

Execute code whenever an EDD purchase is complete.

Submission Form Redirect

Filter the redirect URL for successful FES Submission Form submission

How to Allow Upload SVG Files in WordPress Media Library Code | Function.php

This code is a set of WordPress filters designed to enable the upload of SVG (Scalable…

Current Year Shortcode

Adding the option to use the current year [year] shortcode on your website on any website,…

Hide Elementor AI Image

/* * Hide Elementor image optimization ads when choosing the post's featured image on the backend…

Add the fields to the user edit screen

// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…

Defining Postmark Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Redirect from Array

Setup redirect for multiple pages.

<10

Elementor Rest Bridge

if (!defined('ABSPATH')) { exit; } add_action('init', function () { $post_types = array('page', 'post', 'elementor_library'); foreach ($post_types…

Limit user posts

A settings page to set the number of posts all users can create

<10

Remove Manage Sites

Removes the Manage Sites column from the licenses table on the customer purchase history page

Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

1 … 39 40 41 42 43 … 131