<?php

namespace RTMCustomMails\Pages;

use RTMCustomMails\Core;

trait WrcePageJsContextTrait
{

    public function addJsContext($scriptHandle)
    {
        wp_localize_script($scriptHandle, 'wrce', [
            'assets' => WRCE_ASSETS_URL . '/build',
        ]);
    }

}