add_action( ‘init’, function() { if ( ! current_user_can( ‘manage_options’ ) && ! is_admin() && ! is_login() ) { wp_die( ‘ Website Unavailable This version of the website is no longer active. The owner has moved the site to a new…Continue reading
add_action(‘mepr_event_member_signup_completed’, function($event) { $user = $event->get_data(); bp_set_member_type($user->ID, ‘member_type’); });Continue reading
function tasty_recipes_remove_no_reviews_label( $content ) { global $post; if ( ! $post ) { return $content; } $post_id = $post->ID; $has_recipe = \Tasty_Recipes::has_recipe( $post_id ); if ( ! $has_recipe ) { return $content; } $recipe_id = \Tasty_Recipes::get_recipe_ids_for_post( $post_id )[0]; $recipe =…Continue reading
add_filter( ‘mepr_stripe_elements_appearance’, function( $style ) { $style[ ‘theme’ ] = ‘night’; return $style; });Continue reading
function change_vat_customer_type_label() { ?>Continue reading