WordPress.org

Support

Support » Plugins and Hacks » WordPress Access Areas » [Resolved] IF restricted access

[Resolved] IF restricted access

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

    @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');
        }

    cheers,
    jörn

    Plugin Author podpirate

    @podpirate

    whoops, forgot to close 😉

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