Relevanssi implements Premium_Service, Registerable

Relevanssi compatibility.

Excludes password-protected documents from Relevanssi search results when category-level or document-level protection is active.

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Premium_Service
Registerable

Table of Contents

exclude_protected_documents()  : bool
Exclude protected documents from Relevanssi search results.
register()  : mixed
{@inheritdoc}

Methods

exclude_protected_documents()

Exclude protected documents from Relevanssi search results.

public exclude_protected_documents(bool $post_ok, int $post_id) : bool
Parameters
$post_ok : bool

Whether the post can be shown.

$post_id : int

The post ID.

Tags
Return values
bool

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results