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 characters
/plugins/wp-crowdfunding/settings/tabs/Tab_General.php | |
01. Need to add this code and replace with 112 to 118 line | |
array( | |
'id' => 'wpcf_redurl', | |
'type' => 'text', | |
'value' => ! empty( get_option( 'wpcf_redurl' ) ) ? absint( get_option( 'wpcf_redurl' ) ) : esc_url( home_url( '/' ) ), | |
'label' => __('Redirect URL for User Registration Success','wp-crowdfunding'), | |
), |
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 characters
if(tutor_utils()->is_tutor_frontend_dashboard()) { | |
wp_enqueue_style('tutor-frontend-dashboard-css', tutor()->url . 'assets/css/tutor-frontend-dashboard.min.css', tutor()->version); | |
} |
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 characters
It will enable the auto-check for creating an account. | |
add_filter('woocommerce_create_account_default_checked' , function ($checked){ | |
return true; | |
}); |
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 characters
add_shortcode( 'login_lms', 'lms_shortcode' ); | |
function lmscodes_init(){ | |
function lms_shortcode() { | |
if(tutils()->get_option('disable_tutor_native_login')) { | |
// Refer to login oage | |
header('Location: '.wp_login_url($_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'])); | |
exit; | |
} |
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 characters
<?php | |
/** | |
* Class Email Notification | |
* | |
* @package TUTOR | |
* | |
* @since v.1.0.0 | |
*/ |
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 characters
<?php | |
include("simple_html_dom.php"); | |
$html = file_get_html('https://www.laundrycare.biz/locations/'); | |
echo $html ->find('.container .location-state-list-container',0)->innertext; |
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 characters
//elementor includes | |
include get_template_directory() . '/includes/elements/elementor-extensions.php'; | |
<?php | |
namespace WPC; | |
class Widget_Loader | |
{ |
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 characters
<?php | |
/** | |
* @author none | |
* @since 1.0 | |
* @version 1.0 | |
*/ | |
namespace WPC\Widgets; |
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 characters
<div class="multi-image-container"> | |
<div class="multi-image"> | |
<?php if ($data['multis']) : | |
foreach ($data['multis'] as $singleimg) : | |
$image = wp_get_attachment_image_url($singleimg['multi_image']['id'], $data['thumbnail_size']); | |
if (!$image) { |