Just wanted to verify that this is the only real way to automatically add specific post/page IDs to access restrictions. My client will be adding properties (posts) regularly, which is already a little complicated for them because the posts have tons of custom fields that they need to fill out. I don’t want them to also have to go to s2member and add the post IDs to ‘specific post/page access restrictions’. Not a big deal to make the shortcode for these posts dynamic using PHP. I’ve done that before.
Anyway I see that every single s2member option, including the post/page access restrictions, are stored in a single record in the wp_options table with the option name ‘ws_plugin__s2member_options’. I figured I’d use the ‘save_post’ WordPress action with a category conditional (only include a specific category), and add the post ID to the gigantic options record [in the correct place] and update the record in the database at each post save (as long as they select the correct category). Any opinions on whether this the best/only way to accomplish this?