WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/wpmu admin redirect add updated param

Description

Adds updated=true to the end of the passed URL.

It works out if updated=true already exists, and if not it determines if it should be ?updated=true or &updated=true depending on if the url already has a query string or not.

Parameters

$url
(string) (required) The URL to be modified
Default: None

Return Values

(string) 
modified URL.

Usage

<?php wpmu_admin_redirect_add_updated_param($url); ?>