Fixes
in package
Table of Contents
- FIX_META_QUERY_FLAG = 'mphb_fix_meta_query'
- __construct() : mixed
- disableLightboxWhenJetpackCarousel() : bool
- fixOldWPMetaQuery() : array<string|int, mixed>
- Allow old wordpress (<4.1) support complex meta query
Constants
FIX_META_QUERY_FLAG
public
mixed
FIX_META_QUERY_FLAG
= 'mphb_fix_meta_query'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —disableLightboxWhenJetpackCarousel()
public
disableLightboxWhenJetpackCarousel(bool $useMagnific) : bool
Parameters
- $useMagnific : bool
Return values
bool —fixOldWPMetaQuery()
Allow old wordpress (<4.1) support complex meta query
public
fixOldWPMetaQuery(array<string|int, mixed> $pieces, WP_Query $wp_query) : array<string|int, mixed>
Parameters
- $pieces : array<string|int, mixed>
- $wp_query : WP_Query