Options

Functions for handling the Posts Table Pro plugin options.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

MISC_OPTION_KEY  = 'dlp_misc_settings'
SEARCH_PAGE_KEY  = 'dlp_search_page'
SHORTCODE_OPTION_KEY  = 'dlp_shortcode_defaults'
get_additional_options()  : mixed
get_cache_expiration_length()  : mixed
get_search_page_option()  : mixed
get_shortcode_options()  : mixed
get_option()  : mixed
table_settings_to_args()  : mixed

Constants

MISC_OPTION_KEY

public mixed MISC_OPTION_KEY = 'dlp_misc_settings'
Tags

SEARCH_PAGE_KEY

public mixed SEARCH_PAGE_KEY = 'dlp_search_page'
Tags

SHORTCODE_OPTION_KEY

public mixed SHORTCODE_OPTION_KEY = 'dlp_shortcode_defaults'
Tags

Methods

get_additional_options()

public static get_additional_options() : mixed
Tags
Return values
mixed

get_cache_expiration_length()

public static get_cache_expiration_length() : mixed
Tags
Return values
mixed

get_search_page_option()

public static get_search_page_option() : mixed
Tags
Return values
mixed

get_shortcode_options()

public static get_shortcode_options([array<string|int, mixed> $defaults = [] ]) : mixed
Parameters
$defaults : array<string|int, mixed> = []
Tags
Return values
mixed

get_option()

private static get_option(mixed $option, mixed $default) : mixed
Parameters
$option : mixed
$default : mixed
Tags
Return values
mixed

table_settings_to_args()

private static table_settings_to_args(array<string|int, mixed> $options[, array<string|int, mixed> $defaults = [] ]) : mixed
Parameters
$options : array<string|int, mixed>
$defaults : array<string|int, mixed> = []
Tags
Return values
mixed

Search results