Skip to content

webcomic_roles_required_content

Michael Sisk edited this page Apr 10, 2018 · 1 revision

Alter the standard role restricted content.

apply_filters( 'webcomic_roles_required_content', string $content, int $id )

This filter allows hooks to alter the standard content returned when a user does not have the required role or roles to view the comic.

Parameters

string $content

The content to return in place of the normal post content.

int $id

The post ID.

Clone this wiki locally