erip
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Oke. I am using folowing code now.
Which works …[arm_restrict_content plan=”any_plan,” type=”show”]
you have video access
[armelse]
please buy a membershipplan
[/arm_restrict_content]
text for all- This reply was modified 5 years, 4 months ago by erip.
Forum: Plugins
In reply to: [Doneren met Mollie] Mollie velden automatisch invullen adhv current_userOpen doneren-met-mollie/includes/class-start.php
Vind de code voor het veld dat je wil aanpassen.
<?php if ($dmm_fields['Name']['active']) { ?> <p <?php echo ($dmm_fields['Name']['active'] ? '' : 'style="display:none"');?>> <?php echo esc_html_e('Name', DMM_TXT_DOMAIN) . ($dmm_fields['Name']['required'] ? '<span style="color:red;">*</span>' : '') . '<br>';?> <input type="text" name="dmm_name" class="<?php echo esc_attr(get_option('dmm_fields_cls'));?>" value="<?php echo (isset($_POST["dmm_name"]) ? esc_attr($_POST["dmm_name"]) : '');?>" style="width: 100%"> </p> <?php } ?>voeg na input de volgende code toe:
value="<?php global $current_user; get_currentuserinfo(); echo $current_user->display_name ; ?> "De volgende $current_user functies zijn bruikbaar:
https://codex.wordpress.org/Function_Reference/get_currentuserinfo
Viewing 2 replies - 1 through 2 (of 2 total)