You want to use the user_register
hook, probably. Then use the Filesystem API to make the folder. Be aware that filesystem manipulation is dependent upon server configuration and may not always work, but using the API should ameliorate that problem as much as possible.
Related Posts:
- How to get the active theme’s slug?
- Which hook callback has priority if both plugin and theme use the same hook?
- Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin
- add_meta_box (Will display only in specific page admin WordPress)
- All sites themes functions.php have been changed
- Why namespaces are rarely used in WordPress plugins?
- My single.php page does not show the related data to the post which is clicked
- Use $variable from file1.php in file2.php (different file paths)
- How to make a dynamic css class whose name changes every visit to confuse scraper
- I receive taxonomy id
- How to include files relative to a file’s directory
- speed up pagination for huge database
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Plugin Admin panel checkbox unchecked after submit
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- Custom Plugin scripts from admin working in frontend
- WordPress Cache delete on plugin uninstall
- Replace old theme that understand old css (vcex_icon_box css_animation)
- Remove a div class with condition
- Hooking into the HTML header container
- How to get a post views count using ‘WordPress popular posts’ plugin
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- I want add repository theme folder
- Things that saved lose when logout
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- What is the process for reimplementing a back up WordPress?
- Template from scratch: Sidebars not showing widget
- Display static pages instead of category, in code
- wordpress illegal string offset ‘parameter’ error
- Two sites one PC
- Real estate schema markup not showing up on Rich Results test
- How to maintain W3C standards compliance of a theme
- Difference between a theme and a plugin?
- Disable plugins on cron and ajax page
- Plugin or mod for wordpress to make content publication SUPER easy
- Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
- Theme and Plugins sharing common libraries
- Is there a quick way to inject i18n domain into theme/plugin files?
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- Creating search filter through plugin
- Displaying Gravity Form data on WordPress page [closed]
- How can I list recent posts excerpts?
- Plugin Deactivate Self on Activation Errors
- How to ‘clone’ a wp plugin to make small changes
- add mediaelement.js plugins into WordPress video player control bar
- Two (or more) looks, with one set of content
- WSOD after upgrading to 3.1
- Is there any kind of theme on WordPress to sell my own movies?
- WordPress WPforms customization
- Replace default og:image tag YOAST
- Where these .js file come to source code?
- WordPress Payment gateway add on form , how to add form into list or else how to submit form to next step for payment
- PHP Fatal error: Call to a member function locale() on a non-object
- How to delete all trashed item in one-go
- Get ‘Headers already sent’ error for the plugin I am creating when I try to login
- Return multiple values in a shortcode attribute
- Creating a functionality plugin to edit seriously simple podcasting
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- Programatically upload a file to be stored inside blob field in database, NOT on filesystem
- Make plugin php file called directly aware of WordPress?
- Creating an admin meta box to save post as pending
- Custom meta box with jQuery.sortable custom post type list
- Passing value as hidden parameter to next page
- Next Previous Post in wordpress with previous / next link with title?
- Apply html elements in php statement
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- Cannot Access Console
- Plugin error after installation
- woocommerce remove coupon link does not work
- add_rewrite_rule to load different page, without changing URL in browser
- Plugin or ways to limit number of users logging in the website,
- How to insert datas in the table on wordpress?
- WP Ajax DB issues
- ACF checkbox return format based on page
- How to get database connection details without longing to cpanel in WordPress?
- Precheck fields when I add a new post
- How to translate wordpress blog to other languages?
- How to translate to spanish wordpress hardcoded content/files?
- Multiple image selection custom widget
- Change custom rewrite rule when permalink is updated/changed
- Any method to make specific widget for every post and page?
- In the WordPress API is there a way to set the width of the post/page container
- Embed Javascript code to registered users only
- Find all strings between an enclosing shortcode
- Automatic updates of plugins and themes outside of wordpress.org
- Hyperlink to execute PHP
- How to get site homepage from plugin?
- update_post_meta not working
- Pulling Advanced Custom Fields from other pages
- Vote It Up Plugin – Add ascending numbers to MostVotedAllTime Chart Function
- How to fix vanilla comments extra iframe space
- Meta Box plugin image_advanced not showing up on frontend
- Why does theme need woocommerce to show images / content on front page?
- PHP Creating a formula from mysql db values and db stored math operator
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Issue with customizer and widget page
- Posts in Admin only display 1 Post instead of all Post in admin area
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- WordPress Throwing Deprecated Errors on its own Files
- plugin doesn’t retrieve data from database