# simple-embed-code/2.6.1/includes/add-css-scripts.php

Code Embed, version 2.6.1. 29 lines.

- Page: https://pluginprobe.com/plugins/simple-embed-code/2.6.1/code/includes/add-css-scripts.php
- Raw: https://pluginprobe.com/plugins/simple-embed-code/2.6.1/raw/includes/add-css-scripts.php
- Modified: 2026-04-20T18:57:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/simple-embed-code/2.6.1/code/includes/add-css-scripts.php#L10-L20`.

```php
<?php
/**
 * Add CSS scripts
 *
 * Add CSS to the main theme.
 *
 * @package  simple-embed-code
 */

// Exit if accessed directly.

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Add styles to theme
 *
 * Registers and enqueues the responsive video container stylesheet.
 */
function code_embed_css_scripts() {

	wp_register_style( 'code_embed_responsive', plugins_url( 'css/video-container.min.css', __DIR__ ), array(), CODE_EMBED_VERSION );

	wp_enqueue_style( 'code_embed_responsive' );
}

add_action( 'wp_enqueue_scripts', 'code_embed_css_scripts' );

```
