Skip to content
Docs
Get RestroPress

Filter

rpress_get_symlink_dir

Updated
On this page

Filters the absolute path of the symlink directory in the uploads folder.

The directory is rpress/symlinks inside the uploads directory and is created if missing.

Parameters#

ParameterTypeDescription
$pathstringSymlink directory path.

Return value#

string. The path.

Example#

function my_symlink_dir( $path ) {
	return $path;
}
add_filter( 'rpress_get_symlink_dir', 'my_symlink_dir' );

Source#

Applied in:

  • includes/rp-core-functions.php (line 2428), in rpress_get_symlink_dir()

See also#

Was this page helpful?