Skip to content
Docs
Get RestroPress

Filter

rpress_get_symlink_url

Updated
On this page

Filters the URL of the symlink directory in the uploads folder.

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

Parameters#

ParameterTypeDescription
$urlstringSymlink directory URL.

Return value#

string. The URL.

Example#

function my_symlink_url( $url ) {
	return $url;
}
add_filter( 'rpress_get_symlink_url', 'my_symlink_url' );

Source#

Applied in:

  • includes/rp-core-functions.php (line 2415), in rpress_get_symlink_url()

See also#

Was this page helpful?