I want to allow certain file types on dokan upload files

You can try allowing mimes yourself, like this : add_filter(‘upload_mimes’, ‘custom_upload_mimes’); function custom_upload_mimes($existing_mimes) { $existing_mimes[‘rbxlx’] = ‘text/xml’; $existing_mimes[‘rbxlm’] = ‘text/xml’; $existing_mimes[‘rbxl’] = ‘text/xml’; return $existing_mimes; } If this doesn’t help, you need to look outside WP – it’s possible the server itself won’t allow those uploads. Can you access the .htaccess ? If so, you … Read more

Private plugin updating – GitHub zip file changes the plugin directory (with release or branch name)

It should be possible to carefully adjust the destination path via the upgrader_package_options filter in WordPress, before the upgrader installs the new version of it. Here’s a barebone example that appends the plugin’s current directory name to the destination path, if it’s same as WP_PLUGIN_DIR (see check in core here), when the package url is … Read more