function hide_admin_menus() { remove_menu_page( ‘edit.php’ ); // Posts remove_menu_page( ‘upload.php’ ); // Media remove_menu_page( ‘edit-comments.php’ ); // Comments remove_menu_page( ‘themes.php’ ); // Appearance remove_menu_page( ‘plugins.php’ ); // Plugins remove_menu_page( ‘users.php’ ); // Users remove_menu_page( ‘tools.php’ ); // Tools // remove_menu_page(…Continue reading
add_action( ‘edd_pre_process_purchase’, function () { // Block checkout submits the confirmation as `edd_user_pass2`, // but checkout validation reads `edd_user_pass_confirm`. if ( empty( $_POST[‘edd_user_pass_confirm’] ) && ! empty( $_POST[‘edd_user_pass2’] ) ) { $_POST[‘edd_user_pass_confirm’] = $_POST[‘edd_user_pass2’]; } } );Continue reading
add_shortcode(‘bdc_security_map’, function () { returnContinue reading
¿Tienes Madera de AV?Continue reading
// Record last login timestamp add_action( ‘wp_login’, function( $user_login, $user ) { update_user_meta( $user->ID, ‘last_login’, current_time( ‘mysql’ ) ); }, 10, 2 ); // Add User ID and Last Login columns add_filter( ‘manage_users_columns’, function( $columns ) { // Add User…Continue reading
function current_year_shortcode() { $year = date(‘Y’); return $year; } add_shortcode(‘current_year’, ‘current_year_shortcode’);Continue reading
html body div#om-{{id}}.Campaign.CampaignType–slide { right: 40px !important; bottom: 100px !important; }Continue reading
function custom_login_background() { ?>Continue reading