toggle() toggle(boolean $state): boolean Set state of checklist item. Parameters boolean $state Returns boolean
getLink() getLink(): string Get link so the checklist item can be resolved there. Can be empty. Returns string
getLinkTarget() getLinkTarget(): string Get link target. Can be empty or "_blank", . .. Returns string
getPluginConstantPrefix() getPluginConstantPrefix(): string Get the prefix of this plugin so composer packages can dynamically build other constant values on it. Returns string
settings_updated() settings_updated(\WP_REST_Response $response,\WP_REST_Request $request) Settings got saved, let's check the checklist item. Parameters \WP_REST_Response $response \WP_REST_Request $request
persistStateToOption() persistStateToOption(string $id,boolean $state) Persist the state from `wp_options`. Parameters string $id boolean $state
getFromOption() getFromOption(string $id,boolean $allowNotAutoloaded = false): boolean Get the state from `wp_options`. Parameters string $id boolean $allowNotAutoloaded Returns boolean