WPDev.one
Core Function
View Source on Trac ↗

wp_mkdir_p()

wp_mkdir_p( mixed $target )

Recursive directory creation based on full path.

Parameters 1 required

Name / Type Description
$target
string

Full path to attempt to create.

Required

Return Value

(bool)
Whether the path was created. True if path already exists.

Function Information

Since Version
2.0.1
Source File
wp-includes/functions.php
Advertisement