WPDev.one
Core PHP Functions

Functions Reference

4125+ PHP functions available in the WordPress global namespace. Complete documentation with parameters, return values, and usage examples.

Showing 3801 to 3850 of 4125 functions (Page 77 of 83)
the_modified_date()

Displays the date on which the post was last modified.

$format $before $after +1 more
get_the_modified_date()

Retrieves the date on which the post was last modified.

$format $post
the_time()

Displays the time of the post.

$format
get_the_time()

Retrieves the time of the post.

$format $post
get_post_time()

Retrieves the localized time of the post.

$format $gmt $post +1 more
get_post_datetime()

Retrieves post published or modified time as a `DateTimeImmutable` object instance.

$post $field $source
get_post_timestamp()

Retrieves post published or modified time as a Unix timestamp.

$post $field
the_modified_time()

Displays the time at which the post was last modified.

$format
get_the_modified_time()

Retrieves the time at which the post was last modified.

$format $post
get_post_modified_time()

Retrieves the time at which the post was last modified.

$format $gmt $post +1 more
the_weekday()

Displays the localized weekday for the post.

the_weekday_date()

Displays the localized weekday for the post.

$before $after
wp_head()

Fires the wp_head action.

wp_footer()

Fires the wp_footer action.

wp_body_open()

Fires the wp_body_open action.

feed_links()

Displays the links to the general feeds.

$args
feed_links_extra()

Displays the links to the extra feeds such as category feeds.

$args
rsd_link()

Displays the link to the Really Simple Discovery service endpoint.

wp_strict_cross_origin_referrer()

Displays a referrer `strict-origin-when-cross-origin` meta tag.

wp_site_icon()

Displays site icon meta tags.

wp_resource_hints()

Prints resource hints to browsers for pre-fetching, pre-rendering

wp_preload_resources()

Prints resource preloads directives to browsers.

wp_dependencies_unique_hosts()

Retrieves a list of unique hosts of all enqueued scripts and styles.

user_can_richedit()

Determines whether the user can access the visual editor.

wp_default_editor()

Finds out which editor should be displayed by default.

wp_editor()

Renders an editor.

$content $editor_id $settings
wp_enqueue_editor()

Outputs the editor scripts, stylesheets, and default settings.

wp_enqueue_code_editor()

Enqueues assets needed by the code editor for the given settings.

$args
wp_get_code_editor_settings()

Generates and returns code editor settings.

$args
get_search_query()

Retrieves the contents of the search WordPress query variable.

$escaped
the_search_query()

Displays the contents of the search query variable.

get_language_attributes()

Gets the language attributes for the 'html' tag.

$doctype
language_attributes()

Displays the language attributes for the 'html' tag.

$doctype
paginate_links()

Retrieves paginated links for archive post pages.

$args
wp_admin_css_color()

Registers an admin color scheme css file.

$key $name $url +2 more
register_admin_color_schemes()

Registers the default admin color schemes.

wp_admin_css_uri()

Displays the URL of a WordPress admin CSS file.

$file
wp_admin_css()

Enqueues or directly prints a stylesheet link to the specified CSS file.

$file $force_echo
add_thickbox()

Enqueues the default ThickBox js and css.

wp_generator()

Displays the XHTML generator that is generated on the wp_head hook.

the_generator()

Displays the generator XML or Comment for RSS, ATOM, etc.

$type
get_the_generator()

Creates the generator XML or Comment for RSS, ATOM, etc.

$type
checked()

Outputs the HTML checked attribute.

$checked $current $display
selected()

Outputs the HTML selected attribute.

$selected $current $display
disabled()

Outputs the HTML disabled attribute.

$disabled $current $display
wp_readonly()

Outputs the HTML readonly attribute.

$readonly_value $current $display
__checked_selected_helper()

Private helper function for checked, selected, disabled and readonly.

$helper $current $display +1 more
wp_required_field_indicator()

Assigns a visual indicator for required form fields.

wp_required_field_message()

Creates a message to explain required form fields.

wp_heartbeat_settings()

Default settings for heartbeat.

$settings