Hehe, got it meself, just a little too late, unfortunately, now i have to change half the stuff again…
set_transient(), get_transient() and delete_transient() will be my friends
Edit: More on this…i now realized that my wp_options table is full of _transient_xyz records, coming from WP itself. So that indicates that WP is using the db to store these transients, which isn’t ideal. Haven’t done the research, yet, but i hope WP cleans this up in regular intervals.
Related Posts:
- Which hook should be used to add an action containing a redirect?
- No Error Log File, no debug info
- How should one implement add_settings_error on custom menu pages?
- Making a plugin file accessible via url rewrite?
- Prevent notice and warnings in error_reporting?
- How to log plugin errors to plugin error_log file
- Custom admin_notices Messages Ignored During Redirects
- Catch own Exceptions
- Throw 403 in a plugin [duplicate]
- why don’t I get error messages in admin when developing?
- WP_Error handles errors, but how can I show success with a message?
- Pages 404 in wordpress
- Settings API – Undefined Index when unchecking checkbox
- Error : “Updating failed: The response is not a valid JSON response” with custom shortcode
- How can I display an error message after post has been saved?
- Execution limit and Memory limit errors even i changed to 1024M and 600(cache.php,load.php)?
- How to redirect to action on custom page within admin section
- Redirect user to a particular link in 10 seconds after using wp_die
- Change template dynamically
- Proper way to pass credentials in a custom login form to avoid “headers already sent”
- Two functions utilizing registration_errors filter
- How can I gracefully escape an error condition?
- On cliking add new post redirect user to a custom page first
- Show custom data instead of 404
- Force HTTPS 301 redirect with hook
- Add a new confirmation page before saving
- WordPress debug messages not displaying
- How to redirect to login page when user not loggedin on a particular page
- Custom Post Type Object – Undefined Variables
- Reporting errors in a shortcode plugin
- What might be the reason of Couldn’t fetch mysqli_result on another domain?
- Plugin can’t be activated [closed]
- How do I debug an error that a plugin is causing?
- Need Help Determining Where Header Error is Happening
- “Rendering of admin template [path to template] failed”
- Import images remotly run through timeout error
- Custom payment method after payment user is logged out on thank you page
- Error code when migrate
- WPGut – Updating failed and shortcode?
- GET request return value as error instead of success
- How to Login a User inside a Plugin and Redirect to page?
- Add New Button in Admin Panel
- Redirection from a specific page for users logged in but not with membership
- WP_Fatal_Error_Handler OR WP_Error OR try/catch
- Redirect WooCommerce checkout to cart
- Creating a return url for getting data from external api
- Custom Plugin activation error in Multisite
- redirect_to how to make it simply work with get parameter or similar?
- Warning: Illegal string offset – on homepage
- Not able to Update database while creating a custom module
- Unable to link CSS file
- Any way to make Apache’s internal redirect work?
- Plugin error on activation – breaks page encoding and prints the code of plugin php files
- How to load another page file of my custom plugin file
- Redirections the right way inside a plugin directory
- Getting error of unexpected output during activation
- Trying to build a plugin – Cannot modify header information
- Custom rewrite, url path with parameters to a page
- How to change post status in hook?
- Do uploaded plugins get updates if they came from the wordpress plugin directory?
- WP rest api v2 posts filter by ‘search’ & ‘category_name’ not working
- How to disable “Transform to” option in Gutenberg custom blocks
- Initial help with official “create a block” tutorial
- Can wp_list_comments output into variable?
- Run code once when block is created
- Precaching WordPress posts with a ServiceWorker
- Shortcode returning localized HTML part
- Use ‘get’ form action within a WordPress plugin admin page
- Template directory in plugin
- WordPress Admin Login Custom Logo
- Woocommerce order empty items array
- Do I need to create an endpoint?
- How to find list of all functions bind to a particular hook from my plugin?
- Allow REST API Endpoint to specific user and hide from public
- Check current URL is 404 in pre_option_stylesheet filter hook
- Problem in plugin debuging in wordpress
- mutiple shortcode instance on the same page
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Some data has already been output, can’t send PDF file – fpdf issue in WordPress
- Can i use one wp plugin inside other?
- Login using /wp-admin doesn’t redirect back to /wp-admin
- Dropdown pages in Settings API
- Fatal error: Call to a member function query() on a non-object 3.6.1
- wp_head is not fired from the hook I have used in my plugin
- Admin Message after Plugin Option Updated
- How react js and other Javascript Technologies works on WordPress plugin?
- Shortcode rendered in preview, but empty in post
- Trigger a JavaScript function based on the data fetched from Woo commerce hook
- Add custom data-attribute to core Gutenberg block within an template
- Can I log the searches that are returning 404 in the DB?
- Install a MU plugin from within another plugin
- Do Not Back Up? Is there any accepted way to tell backup and clone plugins to skip a certain file? [closed]
- get_the_tags($ID) is empty during publish_post callback
- Why is WordPress wrapping search for users that looks like integers with asterisks and how do I fix it?
- How to setup an automatic redirect for when there has been a critical error on the site?
- wp cron does not run when i am not logged in to wp admin
- update_option with array_push adding mutiple copies
- How to enable auto update for embedded plugins
- My activator class isn’t running the code inside
- Remove Gutenberg Buttons Block