{"id":296,"date":"2024-10-04T08:00:22","date_gmt":"2024-10-04T07:00:22","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=296"},"modified":"2024-10-04T08:00:22","modified_gmt":"2024-10-04T07:00:22","slug":"mwnci-mkdirhier-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-mkdirhier-function\/","title":{"rendered":"Mwnci mkdirhier() Function"},"content":{"rendered":"<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>mkdirhier(<i><b>directory<\/b><\/i>)<\/p>\n<h2><span id=\"Description\" class=\"mw-headline\">Description<\/span><\/h2>\n<p>The <i>mkdirhier()<\/i> function creates a directory named path, along with any necessary parents.. The permission bits perm (before umask) are used for all directories that <i>mkdirhier()<\/i> creates. If path is already a directory, <i>mkdirhier()<\/i> does nothing and returns NULL.<\/p>\n<h2><span id=\"Example\" class=\"mw-headline\">Example<\/span><\/h2>\n<pre>mkdirhier(\"\/full\/path\/to\/a\/new\/directory\")\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax mkdirhier(directory) Description The mkdirhier() function creates a directory named path, along with any necessary parents.. The permission bits perm (before umask) are used for all directories that mkdirhier() creates. If path is already a directory, mkdirhier() does nothing and returns NULL. Example mkdirhier(&#8220;\/full\/path\/to\/a\/new\/directory&#8221;)<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-296","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=296"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/296\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/296\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}