WordPress at a glance
function is not described

scossdl_off_additional_directories() WPSCache 1.0

Creates a regexp compatible pattern from the directories to be included in matching.

No Hooks.

Return

String. with the pattern with {@literal |} as prefix, or empty

Usage

scossdl_off_additional_directories();

Code of scossdl_off_additional_directories() WPSCache 1.7.3

<?php
function scossdl_off_additional_directories() {
	global $ossdl_off_include_dirs;

	$arr_dirs = array();
	foreach ( $ossdl_off_include_dirs as $dir ) {
		$arr_dirs[] = preg_quote( trim( $dir ), '`' );
	}

	return implode( '|', $arr_dirs );
}