/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
define( ‘BP_ENABLE_MULTIBLOG’, true );Continue reading
// Nome do código: display_travel_package_custom_fields_desktop function display_travel_package_custom_fields_desktop($atts) { global $post; // Enqueue Swiper.js CSS and JS wp_enqueue_style(‘swiper-css’, ‘https://unpkg.com/swiper/swiper-bundle.min.css’); wp_enqueue_script(‘swiper-js’, ‘https://unpkg.com/swiper/swiper-bundle.min.js’, array(‘jquery’), null, true); // Enqueue Font Awesome for icons wp_enqueue_style(‘font-awesome’, ‘https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css’); // Enqueue custom CSS for styling wp_enqueue_style(‘custom-style’, get_stylesheet_uri()); //…Continue reading
// Nome do código: display_travel_package_custom_fields_desktop function display_travel_package_custom_fields_desktop($atts) { global $post; // Enqueue Swiper.js CSS and JS wp_enqueue_style(‘swiper-css’, ‘https://unpkg.com/swiper/swiper-bundle.min.css’); wp_enqueue_script(‘swiper-js’, ‘https://unpkg.com/swiper/swiper-bundle.min.js’, array(‘jquery’), null, true); // Enqueue Font Awesome for icons wp_enqueue_style(‘font-awesome’, ‘https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css’); // Enqueue custom CSS for styling wp_enqueue_style(‘custom-style’, get_stylesheet_uri()); //…Continue reading
/** * Sorting SDEK shipping methods by cost, from cheap to expensive * * @param array $rates Array of shipping methods * * @return array */ add_filter( ‘woocommerce_package_rates’, function( $rates ) { if( empty( $rates ) || ! is_array( $rates…Continue reading
function mepr_disable_password_reset_email( $recipients, $subject, $message, $headers ) { $set_password_notification_subject = MeprHooks::apply_filters( ‘mepr_set_new_password_title’, sprintf( __( “[%s] Set Your New Password”, ‘memberpress’ ), MeprUtils::blogname() ) ); if ( $subject == $set_password_notification_subject ) { $recipients = array(); } return $recipients; } add_filter( ‘mepr-wp-mail-recipients’,…Continue reading
$notifications = get_option( ‘themeisle_blocks_settings_notifications’, array() ); if ( ! isset( $notifications[‘dashboard_upsell’] ) || $notifications[‘dashboard_upsell’] !== true ) { $notifications[‘dashboard_upsell’] = true; update_option( ‘themeisle_blocks_settings_notifications’, $notifications ); }Continue reading