updated user info shortcode to output author page and format date

This commit is contained in:
asus
2024-03-07 14:51:10 +01:00
parent b8fbd84d53
commit 60f46265c2
6 changed files with 189 additions and 23 deletions

View File

@@ -62,8 +62,15 @@ class PLGNTLS_class
const ACF_CARD_PRICE_DELIVERY = 'livraison';
const ACF_CARD_PRICE_TOTAL = 'somme_a_regler';
const ACF_CARD_EXPIRATION = 'fin_de_validite';
const CARD_RENEW_PERIOD = 31; // int : number of days before expiration when renew card start to be possible
const CARD_VALIDITY_TIME = '1 year'; // string : time of validity of the card (ex: '1 month' or '1 year' or '60 days')
CONST ACF_PROF_IS_ACTIV = 'compte-actif';
CONST ACF_PROF_CAN_RENEW = 'renouvellement_possible';
const CARD_RENEW_PERIOD = 31; // int : number of days before expiration when renew card start to be possible
const CARD_VALIDITY_TIME = '1 year'; // string : time of validity of the card (ex: '1 month' or '1 year' or '60 days')
CONST SLUG_PROF_INACTIV = 'validation-en-cours';
CONST USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
private static $_root_path;
private static $_root_url;