Astra_Ext_Advanced_Hooks_Markup::add_divi_wrap( string $content )

Adds Divi wrapper container to post content.


Description


Parameters

$content

(string) (Required) Post content.


Return

(string) Post content.


Source

File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-markup.php

			$file_prefix = $rtl . '.min';
			$dir_name    = 'minified';

			if ( SCRIPT_DEBUG ) {
				$file_prefix = $rtl;
				$dir_name    = 'unminified';
			}

			$css_uri = $uri . $dir_name . '/';
			$css_dir = $path . $dir_name . '/';

			if ( defined( 'ASTRA_THEME_HTTP2' ) && ASTRA_THEME_HTTP2 ) {
				$gen_path = $css_uri;
			} else {
				$gen_path = $css_dir;
			}

			/*** End Path Logic */
			Astra_Minify::add_css( $gen_path . 'astra-hooks-sticky-header-footer' . $file_prefix . '.css' );
			Astra_Minify::add_css( $gen_path . 'style' . $file_prefix . '.css' );
		}

		/**
		 * Add Scripts Callback

Changelog

Changelog
Version Description
1.3.3 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.