The appropriate place IMHO would be a custom folder that you create inside the wp-content directory Read this before creating files: http://ottopress.com/2011/tutorial-using-the-wp_filesystem/
Related Posts:
- $wp_filesystem returns NULL. What are the dependencies?
- Widget HTML Display Problem
- Getting a WordPress Debug Strategy
- Setting a post’s category
- WordPress add_admin_page not working even parameters are correct?
- Customizer: widget-synced triggers twice
- WordPress not working on localhost
- Files automatically added
- How to Create Custom HTML Tag on Editor in `Text(HTML)` mode
- Is It Always a Best Practice to Decouple the Frontend from the Admin Area When Developing a WordPress Application?
- Can I change header.php of current theme through a plugin function?
- Creating a Link Text like Submit Button in Admin Page
- Beginner advice
- Applying OO patterns and principles to plugin development
- Change the ‘published on’ text?
- How to render a time-of-day string like ’16:42′ with a site’s chosen time format?
- Are block templates incompatible with serialize_blocks?
- WooCommerce get_price returning wrong price when used via ajax
- How to filter users list on user_status field with get_users()
- Open Post Thumbnail in New Child Theme File in WordPress
- Get Current Menu Location inside Nav_Walker
- Plugin writing: access file that was just uploaded
- How can i upload images in an admin page?
- SQL query for custom taxonomy slugs
- Tried in different ways but sidebar not working?
- Can Page Templates be Applied to Archive and Post Templates?
- Short code not working in boostrap modal dont no why?
- Is there a way to list all actions registered by a plugin or theme?
- Howto: Use Custom Post Types as Submenu Items in Admin
- How to implement filesystem cache in WordPress
- Is there some way to provide the user a list of existing content in a CPT
- Change the look and feel of admin pages
- Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin
- Extending theme PHP class in plugin
- Hide categories that are not used in the post type
- How to access noticeOperations from withNotices
- How to hook a custom user function to a wordpress core ajax action?
- How to set up VS Code for WP plugin/theme development in 2021? [closed]
- “dashboard”-named PHP file doesn’t get included
- Elementor custom Query with ACF fields to show matching woocommerce products custom fields
- WP Gutenberg Blocks – How to limit first/root blocks
- what is the best practice to add new field to an api route
- How to get boolean value from register_meta properly?
- what is the difference between these phares?
- Form doesnt save to database
- Notice: Trying to get property ‘term_id’ of non-object
- Improve page speed loading using CDN and async or defer attribute
- What is the proper method of using global $post?
- How developed with version control word press site on shared host? [closed]
- How to export post meta with images in wordpress
- Password field is empty when using wp_signon();
- What are the specifics of WordPress development I need to know? [closed]
- How to change title tag at page after loaded post?
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- How do I create plugin or theme using MVC pattern?
- How to limit number of number of categories displayed by categories widget
- PowerPress mobile media player
- When is the proper time to minify css and js with git workflow?
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- How to hide or rename “X” and “x-child” references in website source?
- WordPress custom taxonomy check box to dropdown
- How to Get Current Custom Post Type Associated Taxonomy Term
- Plugin templates vs Parent Theme
- Selectively update themes in WordPress multisite
- wordpress JSONAPI introspector always limits number at 10?
- How to create a backend for a custom theme?
- wp_nonce_field displaying twice
- Redirect to another page using contact form 7? [closed]
- Warning: include(): https:// wrapper is disabled in the server configuration by allow_url_include=0
- Plugin is not generating title tags on any pages or posts
- Is it necessary to do validation again when retrieving data from database?
- How to Control CSS of Admin On Creating only a Specific Custom Post Type
- Can’t change the style of a submit input type? [closed]
- Make a plugin page out of influence of the theme’s style
- Update Data parameter of a wp_localize_script() call
- Custom entity search and display
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- WP Plugin Running before jQuery
- Template directory in plugin
- WordPress Specified file failed upload test
- get_the_tags with separator control?
- How to only load css for used blocks on frontend
- 400 Bad Request, in wordpress theme development, wp_ajax
- Add child pages to submenu automatically
- zip unzip attachments in wordpress
- Why in this archive page that call query_posts() function show only the last 10 posts?
- my own SVN for a plugin/theme
- Issue on Setting $icon_url Parameter on WP add_menu_page()
- Why enqueue styles on hook?
- Make Database query only when option is updated
- unable to wp_enqueue_script(‘suggest’);
- Drawing the line between theme & plugin on large scale bespoke projects
- Apply styles to blockquote element with the WYSIWYG editor
- PHP File_exist() not working – Checking if File Exist in WordPress Theme Directory
- Why would you use esc_attr() on internal functions?
- Invalid hook call on save, not edit when using swiper slider
- Proper way to use useSelect
- Conditional Generation of Image Sizes using add_image_size
- How to add the sidebar to all the pages except the home page? [closed]