WP Manifestindependent plugin directory
manifest / developer / dfm-transients

Transient Control

Transient management utilities for WP CMS

by Ryan Kanner, Digital First Media · github.com/dfmedia/dfm-transients · website

16stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/dfmedia/dfm-transients/archive/refs/heads/master.zip

From the readme

DFM-Transients Transient management utilities for WP CMS This WordPress plugin provides utilities to expand upon the built in WordPress Transients API. The focus of this library is to make it easier to get & set transients, as well as introduce asynchronous update abilities for regenerating data to be stored in transients. Sample Code for registering a transient Below is a sample of what it would look like to register an actual transient. The pattern is similar to what you would do for registering a post type, or a taxonomy. The first parameter passed to dfmregistertransient() is the name of the transient, and the second is the array of arguments for registering the transient. For a full list of arguments you can pass to this function, and what they do, view the list below. Sample transient callback This callback function would pair with the transient registered above. Sample update callback This function would pair with the transient registered above. It decides if we should actually run the callback to regenerate the transient data on this hook. Retrieve the transient data You can use the dfmgettransient() function to retrieve the data for a transient. The first parameter pa

Read the full README on GitHub →

Releases

TagPublished
1.3.0 Nov 30, 2018
v1.2.0 Oct 25, 2018
1.1.3 Oct 10, 2017
1.1.2 Jun 16, 2017
1.1.0 May 6, 2017
1.0.1 Jan 20, 2017
1.0.0 Dec 13, 2016

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.