Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Event Member Only Status in CPT? | Event Espresso - Staging Server

Support

Home Forums WP User Integration Event Member Only Status in CPT?

Event Member Only Status in CPT?

Posted: March 11, 2014 at 3:07 pm

Viewing 2 reply threads


Ozzy Rodriguez

March 11, 2014 at 3:07 pm

I’m using the multiple registration add-on as well as the member integration add-on and would like to be able to check for members only registration when set in the event page, even if registration is required for all events.

Any help?


Ozzy Rodriguez

March 11, 2014 at 3:40 pm

I was able to figure this out by doing this:

$ee_get_post_id = get_the_ID();
$ee_event_id = get_post_meta( $ee_get_post_id, event_id, true );
$ee_event = espresso_get_event($ee_event_id);

then i was able to check for members only by adding this:
$members_only = $ee_event->member_only;
if ( $members_only === ‘N’ ) *if i wanted to check to see if it wasn’t a members only event


Dean

  • Support Staff

March 12, 2014 at 2:34 am

I’m glad you found a solution and thanks for posting it!

Viewing 2 reply threads

The support post ‘Event Member Only Status in CPT?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server