Hindra åtkomst till /wp-admin för prenumeranter
/** * Hindra åtkomst till /wp-admin för prenumeranter */ add_action( 'admin_init', function() { if ( is_user_logged_in()…
ACF_KEYSMST_MSTCASECPT – BASELINE MEASUREMENTS (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: BASELINE MEASUREMENTS (v3.0 Modular) * ============================================ * *…
WpPages_DIR_AB_ACF - WordPress Pages Sync ACF Fields (ENHANCED)
Description: Comprehensive ACF fields for page data with ALL metadata for WhaleSync/Airtable * Location: Run Everywhere…
Remove ISO 4217 Format for specific feeds
//Google Feeds add_filter('adt_pfp_localize_price_iso4217_feeds', function($feeds) { // Remove all Google feeds from ISO4217 formatting return array_filter($feeds, function($feed)…
Expand the Edit Abilities
use Elementor\Controls_Manager; use Elementor\Group_Control_Background; function add_background_and_overlay_to_layout_tab($element, $args) { // === NORMAL BACKGROUND === $element->start_controls_section( 'custom_background_layout', […
Automatically Trash Past Events
Sites that have been running for years build up thousands of finished events. They stay in…
Remove Screen Options
Remove screen options for everyone except Admin and Editor capacity.
Custom Screen Option
Show screen option for selected user only.
Retroactive Lifetime Licenses
Mark all existing licenses for an EDD product as lifetime licenses.
Foodtruck
crée moi moi un plugin pour wordpress pour un foodtruck avec une commande pour fermer et…
Add order status to the commissions table export
/** * Add order status to the commissions table export */ function wcv_commission_export_columns( $columns ){ $columns['order_status']…
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…
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(…