Switch language

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




delete_site_transient [ WordPress Function ]

delete_site_transient ( $transient )
Parameters:
  • (string) $transient Transient name. Expected to not be SQL-escaped.
Uses:
Returns:
  • (bool) True if successful, false otherwise
Defined at:



Delete a site transient.

Source


<?php
function delete_site_transient$transient ) {
    global 
$_wp_using_ext_object_cache;

    
do_action'delete_site_transient_' $transient$transient );
    if ( 
$_wp_using_ext_object_cache ) {
        
$result wp_cache_delete$transient'site-transient' );
    } else {
        
$option_timeout '_site_transient_timeout_' $transient;
        
$option '_site_transient_' $transient;
        
$result delete_site_option$option );
        if ( 
$result )
            
delete_site_option$option_timeout );
    }
    if ( 
$result )
        
do_action'deleted_site_transient'$transient );
    return 
$result;
}
?>

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