Hopefully easy question: I’m doing a bit of a complicated template using this. I am able to insert the post-specific error message with:
echo esc_textarea( get_post_meta( $post->ID, ‘_members_access_error’, true ) );
Instead, how would I insert the default error message set at Settings -> Members?
UPDATE: Found it:
$default_error_message = members_get_setting( ‘content_permissions_error’ )
- This topic was modified 2 months, 2 weeks ago by lectest1.
- You must be logged in to reply to this topic.