Download the PHP package wpdesk/wp-show-decision without Composer
On this page you can find all versions of the php package wpdesk/wp-show-decision. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wp-show-decision
wp-show-decision
Small library for deciding whether something should be displayed in WordPress.
Each strategy implements WPDesk\ShowDecision\ShouldShowStrategy and exposes one method:
Requirements
- PHP 7.4+
Installation
Usage
Available Strategies
GetStrategy- matches$_GETparameters. Inner array meansAND, outer array meansOR.PostTypeStrategy- matches a WordPress post type.ConstantDefinedStrategy- true when a constant is defined.ConstantNotDefinedStrategy- true when a constant is not defined.AndStrategy- combines strategies withAND.OrStrategy- combines strategies withOR.WooCommerce\ShippingMethodStrategy- matches WooCommerce shipping method settings page.WooCommerce\ShippingMethodInstanceStrategy- matches WooCommerce shipping method instance settings page.
Documentation
PHPDoc: https://wpdesk.gitlab.io/wp-show-decision/index.html
All versions of wp-show-decision with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package wpdesk/wp-show-decision contains the following files
Loading the files please wait ...