Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\Cache

s2member\includes\classes\cache.inc.php at line #28

Class c_ws_plugin__s2member_cache

c_ws_plugin__s2member_cache

public class c_ws_plugin__s2member_cache

s2Member's caching routines.

Since:

3.5


( 1 Method )
Method Summary
public static array

cached_page_links()

Page links needed for Constants.

( 1 Method )
Method Detail

s2member\includes\classes\cache.inc.php at line #43

cached_page_links()

public static array cached_page_links()

Page links needed for Constants.

Page links are cached into the s2Member options on 15 min intervals. This allows the API Constants to provide quick access to them without being forced to execute WordPress® Functionget_page_link() all the time, which piles up DB queries.

Since:

3.5

Returns:

array - Array of cached Page links.

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail