Archive | Functions RSS feed for this section

wp_default_styles

Assign default styles to $styles object.Nothing is returned, because the $styles parameter is passed by reference. Meaning that whatever object is passed will be updated without having to reassign the variable that was passed back to the same value. This saves memory.

3577

Continue reading

wp_default_scripts

Register all WordPress scripts.Localizes some of them. args order: $scripts->add( ‘handle’, ‘url’, ‘dependencies’, ‘query-string’, 1 ); when last arg === 1 queues the script for the footer

3575

Continue reading

wp_default_editor

Find out which editor should be displayed by default.Works out which of the two editors to display as the current editor for a user.

3573

Continue reading