Support » Plugin: WordPress Access Areas » IF restricted access

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author podpirate


    Hi DigiDocs,
    as of v1.2.1 (just a couple of miniutes ago) there is an action hook called wpaa_view_restricted_post.

    It gets fired, when a user tries to access a restricted page/post directly via its permalink.

    I also added some css classes prefixed with ‘wpaa-‘ to the post object (the ones returned by get_post_class()), so the shortest way for your key symbol would be some css like this:

    .wpaa-view-restricted:before {
            content: url('key.png');


    Plugin Author podpirate


    whoops, forgot to close 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IF restricted access’ is closed to new replies.