This file contains 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 characters
<?php | |
/* | |
Plugin Name: User Gallery for Ultimate Member | |
Plugin URI: https://suiteplugins.com/ | |
Description: Allow your user to upload photos from their Ultimate Member profile | |
Version: 1.0.2 | |
Author: SuitePlugins | |
Author URI: https://suiteplugins.com/ | |
*/ |
This file contains 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 characters
/* | |
In this code sample, you can learn how to apply custom | |
validations on any fields you want. | |
This can be done using these steps: | |
1. Edit the field in backend (field modal) | |
2. Where it asks for field validation choose "Custom" | |
3. Enter a unique validation action name e.g. my_8numbers |
This file contains 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 characters
<?php | |
/** | |
* Plugin Name: Ultimate Member Modifications | |
* Plugin URI: http://geminilabs.io | |
* Description: This plugin adds custom features and modifications to the Ultimate Member plugin family. | |
* Version: 1.0.0 | |
* Author: Gemini Labs | |
* Author URI: http://geminilabs.io | |
* License: MIT License | |
*/ |
This file contains 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 characters
/* First we need to extend main profile tabs */ | |
add_filter('um_profile_tabs', 'add_custom_profile_tab', 1000 ); | |
function add_custom_profile_tab( $tabs ) { | |
$tabs['mycustomtab'] = array( | |
'name' => 'My custom tab', | |
'icon' => 'um-faicon-comments', | |
); | |
This file contains 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 characters
function drips(){ | |
docker ps -q | xargs -n 1 docker inspect --format '{{ .NetworkSettings.IPAddress }} {{ .Name }}' | sed 's/ \// /' | |
} |
NewerOlder