Last active
June 12, 2024 09:15
-
-
Save Preciousomonze/c4e6168a4bde02a7eece84fd9c4645d5 to your computer and use it in GitHub Desktop.
Revisions
-
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Guess this helps get the fields from the profile. - Get the RH fields which are marked to show in the profile. If a $user_id is passed in, get fields based on the user's level. `function pmprorh_getProfileFields( $user_id, $withlocations = false )` -
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,10 +17,10 @@ Guess this helps get the fields from the profile. #### pmpro_getAllLevels - Paid Membership Pro Get all PMPro membership levels. - @param bool $include_hidden Include levels marked as hidden/inactive. - @param bool $use_cache If false, use $pmpro_levels global. If true use other caches. - @param bool $force Resets the static var caches as well. - @return array An array list of level(s) object `function pmpro_getAllLevels( $include_hidden = false, $use_cache = false, $force = false )` -
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## So I'll just try to be dumping some things here for docu purposes. Feel free to comment, if you have more to add. I'll try as much as possible to update. ### Disclaimer: Please remember that we are all imperfect, and as such, some of the info here might be or outdated or incomplete, that's why we're a community. Any info you find incorrect, please do well to suggest the correct thing in the comment section, we're doing it for all of us. People powerrr ### Note: That this also includes functions from their addons. @@ -16,11 +16,11 @@ Guess this helps get the fields from the profile. #### pmpro_getAllLevels - Paid Membership Pro Get all PMPro membership levels. - @param bool $include_hidden Include levels marked as hidden/inactive. - @param bool $use_cache If false, use $pmpro_levels global. If true use other caches. - @param bool $force Resets the static var caches as well. - @return array An array list of level(s) object `function pmpro_getAllLevels( $include_hidden = false, $use_cache = false, $force = false )` -
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Guess this helps get the fields from the profile. `function pmprorh_getProfileFields( $user_id, $withlocations = false );` #### pmpro_getAllLevels - Paid Membership Pro Guess this helps get the fields from the profile. - Get all PMPro membership levels. @@ -22,6 +24,8 @@ Guess this helps get the fields from the profile. `function pmpro_getAllLevels( $include_hidden = false, $use_cache = false, $force = false )` #### pmpro_sort_levels_by_order - Paid Membership Pro Guess this helps get the fields from the profile. - Get an ordered list of level objects or level IDs. -
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,9 +16,9 @@ Guess this helps get the fields from the profile. #### pmpro_getAllLevels - Paid Membership Pro Guess this helps get the fields from the profile. - Get all PMPro membership levels. - @param bool $include_hidden Include levels marked as hidden/inactive. - @param bool $use_cache If false, use $pmpro_levels global. If true use other caches. - @param bool $force Resets the static var caches as well. `function pmpro_getAllLevels( $include_hidden = false, $use_cache = false, $force = false )` -
Preciousomonze revised this gist
Aug 3, 2021 . 1 changed file with 19 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,32 @@ ## So I'll just try to be dumping some things here for docu purposes. Feel free to comment, if you have more to add. I'll try as much as possible to update. ### Disclaimer: Please remember that we are all imperfect, and as such, some of the info here might be incorrect, that's why we're a community. Any info you find incorrect, please do well to suggest the correct thing in the comment section, we're doing it for all of us. People powerrr ### Note: That this also includes functions from their addons. Format will be "Function name - Plugin name" #### pmprorh_getProfileFields - Paid Membership Pro Registration Helper Guess this helps get the fields from the profile. - Get the RH fields which are marked to show in the profile. If a $user_id is passed in, get fields based on the user's level. `function pmprorh_getProfileFields( $user_id, $withlocations = false );` #### pmpro_getAllLevels - Paid Membership Pro Guess this helps get the fields from the profile. - Get all PMPro membership levels. @param bool $include_hidden Include levels marked as hidden/inactive. @param bool $use_cache If false, use $pmpro_levels global. If true use other caches. @param bool $force Resets the static var caches as well. `function pmpro_getAllLevels( $include_hidden = false, $use_cache = false, $force = false )` #### pmpro_sort_levels_by_order - Paid Membership Pro Guess this helps get the fields from the profile. - Get an ordered list of level objects or level IDs. - @param array $pmpro_levels An array of level objects or level IDs to be reordered. - @return array $pmpro_levels An ordered array of level objects or level IDs. `function pmpro_sort_levels_by_order( $pmpro_levels )` -
Preciousomonze revised this gist
Aug 1, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Guess this helps get the fields from the profile. - Get the RH fields which are marked to show in the profile. If a $user_id is passed in, get fields based on the user's level. `function pmprorh_getProfileFields( $user_id, $withlocations = false );` -
Preciousomonze revised this gist
Aug 1, 2021 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,6 @@ Guess this helps get the fields from the profile. - Get the RH fields which are marked to show in the profile. If a $user_id is passed in, get fields based on the user's level. `function pmprorh_getProfileFields( $user_id, $withlocations = false )` -
Preciousomonze revised this gist
Aug 1, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,9 +3,12 @@ #### pmprorh_getProfileFields - Paid Membership Pro Registration Helper Guess this helps get the fields from the profile. - Get the RH fields which are marked to show in the profile. If a $user_id is passed in, get fields based on the user's level. Usage: `function pmprorh_getProfileFields( $user_id, $withlocations = false )` -
Preciousomonze revised this gist
Aug 1, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ ## So I'll just try to be dumping some things here for docu purposes. Feel free to comment, if you have more to add. I'll try as much as possible to update. ### Note: That this also includes functions from their addons. #### pmprorh_getProfileFields - Paid Membership Pro Registration Helper Guess this helps get the fields from the profile. Usage: `pmprorh_getProfileFields( $user_id )` -
Preciousomonze revised this gist
Aug 1, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,8 @@ ### Note: That this also includes functions from their addons. ##### pmprorh_getProfileFields - Paid Membership Pro Registration Helper Guess this helps get the fields from the profile. `pmprorh_getProfileFields( $user_id )` -
Preciousomonze created this gist
Aug 1, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ ## So I'll just try to be dumping some things here for docu purposes. Feel free to comment, if you have more to add. I'll try as much as possible to update. ### Note: That this also includes functions from their addons. ##### pmprorh_getProfileFields - Paid Membership Pro Registration Helper ``