Amazon_S3_And_CloudFront::register_modal_assets PHP Method

register_modal_assets() public method

Register modal scripts and styles so they can be enqueued later
    function register_modal_assets()
    {
        $version = $this->get_asset_version();
        $suffix = $this->get_asset_suffix();
        $src = plugins_url('assets/css/modal.css', $this->plugin_file_path);
        wp_register_style('as3cf-modal', $src, array(), $version);
        $src = plugins_url('assets/js/modal' . $suffix . '.js', $this->plugin_file_path);
        wp_register_script('as3cf-modal', $src, array('jquery'), $version, true);
    }
Amazon_S3_And_CloudFront