plugins.php
page calls add_thickbox()
function that enqueues WP native thickbox script and style. It has this in documentation:
If any of the settings need to be changed, this can be done with another js
file similar to media-upload.js and theme-preview.js. That file should
require array(‘thickbox’) to ensure it is loaded after.
So there are different possible ways to approach this:
- As WP suggest create and queue .js file that will add settings you need to defaults.
- Re-register or disable native thickbox completely and replace with your own code.
Related Posts:
- Custom media upload content for inserting custom post shortcode
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to stop showing admin notice after close button has been clicked
- Is There a WordPress Hook to Filter the Edit Posts View?
- Is there any record of installed plugins in the database?
- Add content to /wp-admin/plugin-install.php admin screens
- Custom admin column disappearing when using Quick Edit [duplicate]
- Plugin Development: WordPress processes twice on post update. How to skip process on the first?
- how to not show plugin in admin area
- How could I execute my plugin just in frontend (not in backend)
- Hide Theme options and Customize Admin menu
- ‘wp_login’ action hook not working with wp-login.php file
- All Users > User List > Update User Meta Field Inline
- Create tabs in admin options page from custom post type loop
- How to make multiple admin pages for one plugin?
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- How to remove a CPT Menu from the Root Admin only
- Is there a better way of handling AJAX requests in WordPress?
- I cannot include a file in my plugin settings page
- force logged in user to stay in the dashboard
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- How to properly enqueue jQuery knob on WordPress without conflict?
- WordPress Thickbox Navigation Issue in Gallery
- Admin menu hilighting wrong item for CPT
- Is admin section completely customizable in terms of styling?
- Store admin page into variable
- Add custom fields in the new and edit the site forms without touching the WP core
- Ajax in Plugins: returns the whole page
- Gutenberg: Dynamic Block – Show saved data in the editor
- Combining JS files to one script
- The Admin page isn’t showing in the sidebar of the dashboard
- warning wp session
- Submitting form to admin-post.php WordPress
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Show Similar Post Titles ( Similar to Stack Exchange )
- How do I unlock a post programmatically?
- Customizing subject in comment notification e-mails
- WordPress Admin is displaying Not Available
- enqueue script only if it is not already enqueue
- How to remove/hide action links cluttering under specific plugins’ names
- Plugin child folder?
- merging an array to an existing array using add_filter
- Questions about brute force attacks on the admin username, coming from amazon IP addresses
- How do I store information in a dynamic block in WordPress?
- Can’t see login page after migration
- Hidden Custom Post Type
- Is there a way to programmatically enable a plugin?
- Adding Attachment Display Settings in custom media frame
- How to include code into functions.php file via a plugin
- How can I get WordPress to save comments in markdown format?
- New databes tables with – WooCommerce – for developers [closed]
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- Perform internal redirect in WordPress?
- How to prevent plugins from loading jQuery
- Inject HTML meta tag inside wordpress tag using add_shortcode
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- Basic question about accessing scripts in my plugin
- Automatically download, install and activate plugins that my plugin depends, how?
- How to create WordPress custom end point with multiple parameters?
- How to redirect to same page after form submission
- plugin dev – minimum base css specificity?
- WordPress SVN UTF-8 issue
- Asynchronous request in wordpress
- change or add css to theme from plugin
- Displaying data from another database
- Every time I de-activate a custom plugin, the site encounters a critical error
- Custom Fields for Page Edits
- Apply html elements in php statement
- How to make sure settings are not lost when plugin is updated?
- How Can i import plugin option?
- How to Get Category Name When Export Products
- How to override any plugin file in the child theme
- Custom plugin activation error
- Define global variable in theme file and call that variable in plugin file
- How to capture hidden values with Gravity Forms
- Custom Plugin Update
- How do I stop plugins and themes from getting updated in a new plugin?
- How come W3TC is allowed to host premium code in the WordPress repo?
- Multiple image selection custom widget
- Passing function into add_action always returns the first argument
- Paid Membership Pro displaying a user name in PHP
- Make another copy of a plugin and install it
- Creating Nested custom fields
- plugin not hooking to my custom hook
- Populate select option with JSON file
- Enahanced search for edit.php and custom post type
- API Functions to Register and Show WordPress List Tables
- How to save default values into an option and delete those upon actvation and deactivation in wordpress?
- How to Add Jquery FullCalendar in wp plugin in admin
- Ajax, jQuery and WordPress
- How to get site homepage from plugin?
- Unable to show 4 products in a row
- WordPress check box unchecked on null value ternary operator [plugin development]
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- wordpress Ajax success doesn’t return the value
- Create Custom Coupon Type
- WordPress custom block: Link saved in database not retrieved when editing post
- Accessing Correct Database to Create REST API Endpoint
- Detect if user is on the specific page in WordPress
- A multi-section WordPress store [closed]