Hi Teodor,
thanks that is nice to hear.
Great would be a function like this:
pms_has_subscription( $subscription_id, $user_id = get_current_user_id() )
usable like so:
if( pms_has_subscription( '1' ) ):
or if( pms_has_subscription( array( 1, 2 ) ) ):
The user id should be optional and by default the current user id. Even the first parameter could be optional so if not set the user just need any pms subscription.
Greetings GDY
-
This reply was modified 8 years, 4 months ago by
GDY.
-
This reply was modified 8 years, 4 months ago by
GDY.