Filter: DevOwl/RealUtils/Prompts/Suppress

apply_filters( 'DevOwl/RealUtils/Prompts/Suppress', $suppress, $prompt, $initiator ) → {boolean}

Switch off a prompt of the real-utils package, for example in a context that must not show prompts or touch the network-wide transients. A callback can only switch a prompt off, the default shows it.

Prompts: rating (the rating links and their first-rating time), welcome-redirect (the redirect to the welcome page after activation) and our-plugins (the list of further plugins on the welcome page).

Parameters:
Name Type Description
$suppress boolean

Default false

$prompt string

One of rating, welcome-redirect, our-plugins

$initiator AbstractInitiator | null

The initiator the prompt belongs to, null for rating as it covers all initiators

Since:
  • 1.15.0
Returns:
Type
boolean