by Takayuki Miyauchi on WordPress.org

Visual Editor.
Display content enclosed by the shortcode for registered users only.
[auth]This content will display for registered users only[/auth]
https://github.com/miya0001/login-to-read-more
Arguments
The following will add a class as argument.
Example: [auth class="foo"]
Output: ...
The following will change url link.
Example: [auth href="http://example.com/xxx/"]
Output: ...
The following will change text.
Example: [auth text="Join"]
Output: Join
Filter Hook
The following is example for “login_to_read_more_text” filter.
add_filter('login_to_read_more_text', 'my_login_to_read_more_text');
function my_login_to_read_more_text(){
return 'Join';
}