Where to store media uploaded by the plugin?

You can do something like this to create your own plugin upload folder in /wp-content/uploads the following code will basically create a custom folder inside uploads called myplugin_uploads and put an empty index.html inside it. Dynamically creating your custom upload folder add_action( ‘init’, ‘create_files’ ); function create_files() { $upload_dir = wp_upload_dir(); $files = array( array( … Read more

Video limit about wordpress

there is no limit to how much video you can upload, apart from disk space on the server. There is also a limit on how big each file can be according to your PHP configuration, but on on the combined size of all the videos. Your challenges in this project will be preparing the videos … Read more