WordPress.org

Ready to get started?Download WordPress

Forums

How to allow current user can access his/her own posts/page (2 posts)

  1. prashanthag
    Member
    Posted 1 year ago #

    Hi

    I want give current user roles and capabilities those who are login my site only read permission

    Or
    how to change from 'author' to 'currentusers'

    $wp_query->set( ‘author’, $current_user->id );

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.