PostTypeCondition
class PostTypeCondition implements ConditionInterface (View source)
Check against the current post's type.
Methods
Details
at line 33
__construct(string $post_type)
Constructor
at line 40
boolean
isSatisfied(RequestInterface $request)
Get whether the condition is satisfied
at line 47
array
getArguments(RequestInterface $request)
Get an array of arguments for use in request