WordPress Membership Plugin
I am not sure what you mean. That shortcode function is in “functions.php”. And in the “New Page” I am using [foobar] to display a simple message which should have been invisible from public. Can you do a simple test on your end?
hi there, no there is no third party plugin. It is a theme I am developing.
okay, here is a scenario which you can test :
– I create a page named “X”
– Page content a shortcode link [foobar]
– Shortcode is :
function foobar_func( $atts ){
// returns foo and bar to the page X
return "foo and bar";
}
add_shortcode( 'foobar', 'foobar_func' );
– I check “Yes, protect this content”
– I visit the website as a guest and “foo and bar” is visible