Modify LLMS Title for a Specific Post
This snippet modifies the title shown in llms.txt and llms-full.txt for a specific post ID.
WP Simple Pay: Programmatically Access Payment Metadata After Payment
Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…
google tag
google code
Google AdSense code
AdSense code
Generate Press Custom Font
This snippet allows developers & designers the ability to add custom fonts to generate press themed…
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
Translate Products
Code required to translate the word "Products".
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…
User Switching
Easily switch to a Customer when using the User Switching plugin
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…