<?php

add_action('acf/input/admin_enqueue_scripts', function () {
    $style_path = CODELIBRY_THEME_PATH . '/assets/css/acf-admin.css';
    $style_uri = CODELIBRY_THEME_URI . '/assets/css/acf-admin.css';
    $style_version = file_exists($style_path) ? filemtime($style_path) : null;

    wp_enqueue_style('codelibry-acf-admin-style', $style_uri, [], $style_version);
});
