Snow Monkey Member Post #1 in Users & Membership
This is a simple plugin that can limit articles to login users only.
★ 1stars
410krelease downloads
≈9.5kactive sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/inc2734/snow-monkey-member-post/releases/download/6.2.6/snow-monkey-member-post.zipReadme
Snow Monkey Member Post
Shortcode
snow_monkey_member_post_login_form
Display the login form.
/**
* @param string redirect_to You can specify the URL to redirect when logging in.
*/
[snow_monkey_member_post_login_form redirect_to="(Optional)"]
snow_monkey_member_post_register_form
Display the register form.
/**
* @param string redirect_to You can specify the URL to redirect when registered.
*/
[snow_monkey_member_post_register_form redirect_to="(Optional)"]
Filter hooks
snow_monkey_member_post_active_post_types
/**
* You can customize the type of post that you can restrict.
*
* @param array active_post_types
* @return array
*/
add_filter(
'snow_monkey_member_post_active_post_types',
function( $active_post_types ) {
return $active_post_types;
}
);
snow_monkey_member_post_restriction_capability
/**
* You can customize the permissions that can be restricted.
*
* @param string $capability
* @return string
*/
add_filter(
'snow_monkey_member_post_restriction_capability',
function( $capability ) {
return $capability;
}
);
snow_monkey_member_post_is_restricted_member
/**
* You can customize whether the member is restricted or not.
*
* @return boolean
*/
add_filter(
'snow_monkey_member_post_is_restricted_member',
function( $return ) {
return $return;
}
);
snow_monkey_member_post_is_restricted
/**
* You can customize whether the content is restricted or not.
*
* @param boolean $return
* @param boolean $has_restriction_meta
* @param WP_Post $post
* @return boolean
*/
add_filter(
'snow_monkey_member_post_is_restricted',
function( $return, $has_restriction_meta, $post ) {
return $return;
},
10,
3
);
snow_monkey_member_post_allowed_content_message
/**
* You can customize the message displayed in the permitted content.
*
* @param string $message
* @return string
*/
add_filter(
'snow_monkey_member_post_allowed_content_message',
function( $message, $post ) {
return $message;
},
10,
2
);
snow_monkey_member_post_restricted_content_message
/**
* You can customize the messages that appear on unauthorized content.
*
* @param string $message
* @return string
*/
add_filter(
'snow_monkey_member_post_restricted_content_message',
function( $message, $post ) {
return $message;
},
10,
2
);
snow_monkey_member_post_restricted_excerpt_message
/**
* You can customize the messages that appear on excerpt of unauthorized content.
*
* @param string
* @return staring
*/
add_filter(
'snow_monkey_member_post_restricted_excerpt_message',
function( $message, $post ) {
return $message;
},
10,
2
);
snow_monkey_member_post_view_hierarchy
/**
* You can customize the template directory.
*
* @param array $hierarchy
* @param string $slug
* @param string $name
* @param array $vars
* @return array
*/
add_filter(
'snow_monkey_member_post_view_hierarchy',
function( $hierarchy, $slug, $name, $vars ) {
return $hierarchy;
},
10,
4
);
snow_monkey_member_post_view_render
/**
* You can customize the template html.
*
* @param array $html
* @param string $slug
* @param string $name
* @param array $vars
* @return string
*/
add_filter(
'snow_monkey_member_post_view_render',
function( $html, $slug, $name, $vars ) {
return $html;
},
10,
4
);Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 6.2.6 | Aug 19, 2026 | snow-monkey-member-post.zip | 2,130 |
| 6.2.5 | Nov 13, 2024 | snow-monkey-member-post.zip | 121,210 |
| 6.2.4 | Nov 13, 2024 | snow-monkey-member-post.zip | 56 |
| 6.2.3 | Nov 12, 2024 | snow-monkey-member-post.zip | 95 |
| 6.2.2 | Sep 25, 2024 | snow-monkey-member-post.zip | 10,184 |
| 6.2.1 | Aug 9, 2024 | snow-monkey-member-post.zip | 9,454 |
| 6.2.0 | Mar 12, 2024 | snow-monkey-member-post.zip | 32,412 |
| 6.1.0 | Nov 8, 2023 | snow-monkey-member-post.zip | 25,589 |
| 6.0.4 | Jul 18, 2023 | snow-monkey-member-post.zip | 22,873 |
| 6.0.3 | Apr 16, 2023 | snow-monkey-member-post.zip | 17,417 |
| 6.0.2 | Feb 28, 2022 | snow-monkey-member-post.zip | 69,063 |
| 6.0.1 | Feb 5, 2022 | snow-monkey-member-post.zip | 3,063 |
| 6.0.0 | Apr 28, 2021 | snow-monkey-member-post.zip | 35,636 |
| 5.0.0 | Apr 1, 2021 | snow-monkey-member-post.zip | 3,034 |
| 4.0.2 | Sep 2, 2020 | snow-monkey-member-post.zip | 14,075 |
| 4.0.1 | Aug 12, 2020 | snow-monkey-member-post.zip | 1,245 |
| 4.0.0 | Aug 12, 2020 | snow-monkey-member-post.zip | 11 |
| 3.0.3 | Apr 27, 2020 | snow-monkey-member-post.zip | 1,310 |
| 3.0.2 | Apr 21, 2020 | snow-monkey-member-post.zip | 214 |
| 3.0.1 | Apr 17, 2020 | snow-monkey-member-post.zip | 142 |
| 3.0.0 | Apr 17, 2020 | snow-monkey-member-post.zip | 14 |
| 2.0.5 | Feb 25, 2020 | snow-monkey-member-post.zip | 1,249 |
| 2.0.4 | Dec 3, 2019 | snow-monkey-member-post.zip | 13,690 |
| 2.0.3 | Oct 10, 2019 | snow-monkey-member-post.zip | 9,204 |
| 2.0.2 | Sep 3, 2019 | snow-monkey-member-post.zip | 6,164 |
Active-site estimate ≈9,450 comes from the median of recent superseded releases. Method.