WPForms Center Align
Cernter alligns WP forms fields and content. Must enter wpf-center in General/Advanced form settings.
Reverse Receivers
Reverses the receivers for PayPal Adaptive Payments
Charitable: Force PayPal Legacy gateway
Overrides Charitable Pro 1.8.15+ PayPal tier detection at read-time so the legacy `paypal` gateway stays visible…
Get rid of Home
Removal of "Home - " in the Title Tag
Commissions as a fixed dollar amount, or fixed plus a percentage.
add_filter( 'wcv_commission_rate', 'my_wcv_custom_filter', 10, 3 ); function my_wcv_custom_filter( $commission, $product_id, $product_price ) { return WCV_Commission::get_commission_rate( $product_id…
Untitled Snippet
file:///Users/kelseyfisher/Downloads/kdf-carpentry-site.html
Untitled Snippet
Item details
Automatically Trash Past Events
Sites that have been running for years build up thousands of finished events. They stay in…
Remove Gutenberg CSS
//Remove Gutenberg Block Library CSS from loading on the frontend function smartwp_remove_wp_block_library_css(){ wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style(…
Add Subscriber to Segment with Duration
Adds the subscriber to the segment for a specific duration, after the defined number of days…
Action Scheduler Cleardown | Display Eventbrite Events
Eventbrite uses Action Scheduler to handle background tasks when background processing is enabled. By default, Action…
Post-States
add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…