Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wpmu_admin_redirect_add_updated_param [ WordPress Function ]

wpmu_admin_redirect_add_updated_param ( $url = '' )
Parameters:
  • (string) $url
Returns:
  • (string)
Defined at:



Adds an 'updated=true' argument to a URL.

Source


<?php
function wpmu_admin_redirect_add_updated_param$url '' ) {
    
_deprecated_function__FUNCTION__'3.3' );

    if ( 
strpos$url'updated=true' ) === false ) {
        if ( 
strpos$url'?' ) === false )
            return 
$url '?updated=true';
        else
            return 
$url '&updated=true';
    }
    return 
$url;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics