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 4001 to 4050 of 4125 functions (Page 81 of 83)
url_is_accessable_via_ssl()

Determines if the URL can be accessed over SSL.

$url
preview_theme()

Start preview theme output buffer.

_preview_theme_template_filter()

Private function to modify the current template when previewing a theme

_preview_theme_stylesheet_filter()

Private function to modify the current stylesheet when previewing a theme

preview_theme_ob_filter()

Callback function for ob_start() to capture all links in the theme.

$content
preview_theme_ob_filter_callback()

Manipulates preview theme links in order to control and maintain location.

$matches
wp_richedit_pre()

Formats text for the rich text editor.

$text
wp_htmledit_pre()

Formats text for the HTML editor.

$output
post_permalink()

Retrieve permalink from post ID.

$post
wp_get_http()

Perform a HTTP HEAD or GET request.

$url $file_path $red
force_ssl_login()

Whether SSL login should be forced.

$force
get_comments_popup_template()

Retrieve path of comment popup template in current or parent template.

is_comments_popup()

Determines whether the current URL is within the comments popup window.

comments_popup_script()

Display the JS popup script to show a comment.

popuplinks()

Adds element attributes to open links in new tabs.

$text
wp_embed_handler_googlevideo()

The Google Video embed handler callback.

$matches $attr $url +1 more
get_paged_template()

Retrieve path of paged template in current or parent template.

wp_kses_js_entities()

Removes the HTML JavaScript entities found in early versions of Netscape 4.

$content
_usort_terms_by_ID()

Sort categories by ID.

$a $b
_usort_terms_by_name()

Sort categories by name.

$a $b
_sort_nav_menu_items()

Sort menu items by the desired key.

$a $b
get_shortcut_link()

Retrieves the Press This bookmarklet link.

wp_ajax_press_this_save_post()

Ajax handler for saving a post from Press This.

wp_ajax_press_this_add_category()

Ajax handler for creating new category from Press This.

wp_get_user_request_data()

Return the user request object for the specified request ID.

$request_id
wp_make_content_images_responsive()

Filters 'img' elements in post content to add 'srcset' and 'sizes' attributes.

$content
wp_unregister_GLOBALS()

Turn register globals off.

wp_blacklist_check()

Does comment contain disallowed characters or words.

$author $email $url +3 more
_wp_register_meta_args_whitelist()

Filters out `register_meta()` args based on an allowed list.

$args $default_args
add_option_whitelist()

Adds an array of options to the list of allowed options.

$new_options $options
remove_option_whitelist()

Removes a list of options from the allowed options list.

$del_options $options
wp_slash_strings_only()

Adds slashes to only string values in an array of values.

$value
addslashes_strings_only()

Adds slashes only if the provided value is a string.

$value
noindex()

Displays a `noindex` meta tag if required by the blog configuration.

wp_no_robots()

Display a `noindex` meta tag.

wp_sensitive_page_meta()

Display a `noindex,noarchive` meta tag and referrer `strict-origin-when-cross-origin` meta tag.

_excerpt_render_inner_columns_blocks()

Render inner blocks from the `core/columns` block for generating an excerpt.

$columns $allowed_blocks
wp_render_duotone_filter_preset()

Renders the duotone filter SVG and returns the CSS filter property to

$preset
wp_skip_border_serialization()

Checks whether serialization of the current block's border properties should occur.

$block_type
wp_skip_dimensions_serialization()

Checks whether serialization of the current block's dimensions properties should occur.

$block_type
wp_skip_spacing_serialization()

Checks whether serialization of the current block's spacing properties should occur.

$block_type
wp_add_iframed_editor_assets_html()

Inject the block editor assets that need to be loaded into the editor's iframe as an inline script.

wp_get_attachment_thumb_file()

Retrieves thumbnail for an attachment.

$post_id
_get_path_to_translation()

Gets the path to a translation file for loading a textdomain just in time.

$domain $reset
_get_path_to_translation_from_lang_dir()

Gets the path to a translation file in the languages directory for the current locale.

$domain
_wp_multiple_block_styles()

Allows multiple block styles.

$metadata
wp_typography_get_css_variable_inline_style()

Generates an inline style for a typography feature e.g. text decoration,

$attributes $feature $css_property
global_terms_enabled()

Determines whether global terms are enabled.

_filter_query_attachment_filenames()

Filter the SQL clauses of an attachment query to include filenames.

$clauses
get_page_by_title()

Retrieves a page given its title.

$page_title $output $post_type