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 show_custom_details_in_course_sidebar() { | |
// Check if the ACF plugin is active | |
if (function_exists('get_field')) { | |
$enter_time = get_field('enter_time'); | |
$select_time_format = get_field('select_time_format'); | |
echo '<li>'; | |
echo '<i class="fas fa-film"></i>'; | |
echo '<span class="label">' . esc_html__('Content :', 'edubin') . '</span>'; | |
echo '<span class="value"> Audio-Video & Text </span>'; | |
echo '</li>'; |
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
div#vibebp_login_wrapper .login_popup_bg_img img { | |
height: 80px; | |
} | |
div#vibebp_login_wrapper .login_popup_content { | |
width: 400px; | |
max-width: 100% !important; | |
} |
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
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
@ini_set('display_errors', 0); | |
// Set the maximum size for the debug log file (in megabytes) | |
define('WP_DEBUG_LOG_MAX_SIZE', 20); // Change the value to your desired size |
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
add_filter('wplms_enable_did_filter',function($x){return false;}); |
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
[vibebp_login] | |
[vibebp_profile] |
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
/** | |
* Increase WooCommerce product thumbnail dimensions | |
*/ | |
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { | |
return array( | |
'width' => 300, | |
'height' => 300, | |
'crop' => 0, | |
); |
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
/* | |
******************************************************************************************************************** | |
****************************** Stop wordpress / plugin / theme updates ********************************************* | |
******************************************************************************************************************** | |
*/ | |
function shakti_remove_wp_core_updates() | |
{ | |
global $wp_version; | |
return (object)array( |
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 get_current_user_rank_data() { | |
global $wpdb; | |
$user_id = get_current_user_id(); | |
$i = 0; | |
$sql = " | |
SELECT * FROM " . $wpdb->prefix . "usermeta WHERE meta_key = '_gamipress_points_points' | |
ORDER BY CAST(meta_value AS UNSIGNED) DESC | |
"; | |
$results = $wpdb->get_results($sql); |
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 | |
/** | |
* Template Name: Leaderboard | |
*/ | |
get_header(); | |
global $wpdb; |
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
define( 'WP_POST_REVISIONS', 5 ); | |
define( 'EMPTY_TRASH_DAYS', 5 ); | |
define( 'AUTOMATIC_UPDATER_DISABLED', true ); | |
define( 'DISALLOW_FILE_EDIT', true ); |
NewerOlder