Support

Account

Home › Forums › Gutenberg › ACF Blocks – Prevent Style load in Frontend? › Reply To: ACF Blocks – Prevent Style load in Frontend?

  • use conditional if ( $is_preview ) { ... } or is_admin()
    Both should work fine inside 'enqueue_assets' => function() { ... } when registering the block with api 1 (not acf 6.0)