Switch language

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




update_home_siteurl [ WordPress Function ]

update_home_siteurl ( $old_value, $value )
Parameters:
  • (string) $old_value
  • (string) $value
Defined at:



If siteurl or home changed, flush rewrite rules.

Source


<?php
function update_home_siteurl$old_value$value ) {
    if ( 
defined"WP_INSTALLING" ) )
        return;

    
// If home changed, write rewrite rules to new location.
    
flush_rewrite_rules();
}
?>

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