MemberPress: Code Blocks Pro - Load All Currently Enqueued Styles In the Courses ReadyLaunch Template

By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…

Display Roster Entry

/** Display Roster Entry **/ // FOR DEBUGGING ONLY //$data = serialize(array("Red", "Green", "Blue")); //echo $data…

Enqueue Child Theme's CSS & Additional CSS in WordPress Editor

/* Enqueue Child Theme style.css to editor */ add_filter('block_editor_settings_all', function($editor_settings) { // Get the URL of…

Change site url

add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }

Custom Availability Date for Products

/** * Availability Date Functionality * * Adds a custom availability date field to WooCommerce products…

<10

Display Page/Post ID

This snippet can be used to display Page/Post ID in the Admin Dashboard. Adds option to…

Payment Method Smart Tag

This code only has handling for klarna, us_bank_account and card (default). The other available types are…

PRO DRIVERS PERSONAL EXERCISE HUB APP

THE SNIPPET IS CODING FOR AN APP ENTITLED PRO DRIVERS PERSONAL EXERCISE HUB. CREATED TO PROVIDE…

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

Allow mixed cart support with Stripe Payment Elements

Make it possible to purchase a subscription and non-subscription product in the same transaction with Stripe's…

1 155 156 157 158 159 177