ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Defining SendLayer Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
WP Simple Pay: Add User Meta After Payment
Use the payment email address to look up a WordPress user and add custom meta information.
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Weather API
Live weather
Free tiktok views
Get free tiktok views growing
Helper functions to make generating WordPress post type labels and taxonomy labels easier
Generate post type and taxonomy labels easily by specifying the singular and plural version of the…
Translate Products
Code required to translate the word "Products".
User Switching
Easily switch to a Customer when using the User Switching plugin
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
WP Simple Pay: Remove Card Terms
Removes auto-generated terms displayed under card fields.