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

Developer Resources

Browse: Home / Reference / 4.9.7

wp_delete_file_from_directory()

Function: Deletes a file if its path is within the given directory.

Source: wp-includes/functions.php:7337

Used by 1 function | Uses 4 functions

wp_delete_attachment_files()

Function: Deletes all files that belong to the given attachment.

Source: wp-includes/post.php:6455

Used by 1 function | Uses 7 functions

WP_Community_Events::trim_events()

Method: Prepares the event list for presentation.

Source: wp-admin/includes/class-wp-community-events.php:466

Used by 2 functions | Uses 1 function

wp_normalize_path()

Function: Normalizes a filesystem path.

Source: wp-includes/functions.php:2152

Used by 15 functions | Uses 1 function
  • 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
Code is Poetry