Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / 2.0.1

sanitize_user

Filter Hook: Filters a sanitized username string.

Source: wp-includes/formatting.php:2164

Used by 1 function | Uses 0 functions

set_current_user

Action Hook: Fires after the current user is set.

Source: wp-includes/pluggable.php:48

Used by 1 function | Uses 0 functions

wp_mkdir_p()

Function: Recursive directory creation based on full path.

Source: wp-includes/functions.php:2029

Used by 7 functions | Uses 1 function

update_option_{$option}

Action Hook: Fires after the value of a specific option has been successfully updated.

Source: wp-includes/option.php:581

Used by 1 function | Uses 0 functions

validate_username()

Function: Checks whether a username is valid.

Source: wp-includes/user.php:1997

Used by 3 functions | Uses 2 functions

validate_username

Filter Hook: Filters whether the provided username is valid.

Source: wp-includes/user.php:2009

Used by 1 function | Uses 0 functions

set_current_user()

Function: Changes the current user by ID or name.

Source: wp-includes/pluggable-deprecated.php:32

Used by 0 functions | Uses 2 functions

WP_Rewrite::flush_rules()

Method: Removes rewrite rules and then recreate rewrite rules.

Source: wp-includes/class-wp-rewrite.php:1852

Used by 3 functions | Uses 7 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Code is Poetry