Switch language

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




wp_functionality_constants [ WordPress Function ]

wp_functionality_constants ( No parameters )
Defined at:



Defines functionality related WordPress constants

Source


<?php
function wp_functionality_constants( ) {
    
/**
     * @since 2.5.0
     */
    
if ( !defined'AUTOSAVE_INTERVAL' ) )
        
define'AUTOSAVE_INTERVAL'60 );

    
/**
     * @since 2.9.0
     */
    
if ( !defined'EMPTY_TRASH_DAYS' ) )
        
define'EMPTY_TRASH_DAYS'30 );

    if ( !
defined('WP_POST_REVISIONS') )
        
define('WP_POST_REVISIONS'true);

    
/**
     * @since 3.3.0
     */
    
if ( !defined'WP_CRON_LOCK_TIMEOUT' ) )
        
define('WP_CRON_LOCK_TIMEOUT'60);  // In seconds
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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