https://sublime.wbond.net/installation#st3
- Source Code Pro -
sourcecodepro.sh
- Hack -
hack.sh
<?php | |
add_filter( 'bp_docs_map_meta_caps', function( $caps, $cap, $user_id, $args ) { | |
if ( 'bp_docs_create' === $cap ) { | |
// Site admins | |
if ( user_can( $user_id, 'bp_moderate' ) ) { | |
$caps = array( 'exist' ); | |
// If this is a group and the user is a group mod or admin. | |
} else if ( bp_is_group() && ( bp_group_is_mod() || bp_group_is_admin() ) ) { | |
$caps = array( 'exist' ); | |
} else { |
<?php | |
if ( !function_exists( 'wp_new_user_notification' ) ) { | |
function wp_new_user_notification( $studentID, $plaintext_pass = '' ) { | |
$student = new WP_User($studentID); | |
$student_data = get_userdata( $studentID ); | |
$firstname = $student_data->first_name; | |
$student_login = stripslashes( $student_data->user_login ); | |
// URLs | |
$site_url = site_url(); |
https://sublime.wbond.net/installation#st3
sourcecodepro.sh
hack.sh