Mudassar Ali
Muridke Town Main Bazar, Lahore, Punjab, 29000
+92 300 4746182 | [email protected]
LinkedIn: linkedin.com/in/mudassar-ali-chouhan | GitHub: github.com/mudassaralichouhan
Date: [Insert Date]
<?php | |
add_filter( 'the_title', 'shorten_woo_product_title', 10, 2 ); | |
function shorten_woo_product_title( $title, $id ) { | |
if (!is_singular(array('product')) && get_post_type($id) === 'product') { | |
// return substr( $title, 0, 30) . '…'; // change last number to the number of characters you want | |
return wp_trim_words($title, 4); // last number = words | |
} else { | |
return $title; | |
} | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Migration Process Tracker</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
/* Custom styles for enhanced UI */ |
<?php | |
/** | |
* Custom Post Type Meta Box. | |
* | |
* @package Heartland | |
*/ | |
/** | |
* Meta box class. | |
*/ |
/** | |
* Function to perform setup after importing data. | |
* This function assigns the front page and the posts page (blog page) based on the imported demo. | |
* @param array $selected_import The selected import data. | |
* @link https://www.codeixer.com/addressing-the-issue-of-one-click-demo-import-not-add-elementor-global-options/ | |
*/ | |
function cdx_after_import_setup( $selected_import ) { | |
// Import Elementor kit data. | |
$cdx_kit_zip = get_parent_theme_file_path() . '/demo-content/elementor-kit.zip'; |
/** | |
* Load our override of dynamic-tags-condition | |
*/ | |
add_action( 'elementor/display_conditions/register', function( $conditions_manager ) { | |
require_once(get_template_directory() . '/inc/elementor/seg-dynamic-tags-condition.php' ); | |
$conditions_manager->register_condition_instance( new \Seg_Dynamic_Tags_Condition() ); | |
} ); |
<?php | |
/** | |
* Plugin Name: Elementor Conditions for Elements | |
* Description: A plugin to add custom display conditions | |
* Plugin URI: https://elementor.com/ | |
* Version: 1.0.0 | |
* Author: Phil Ingram | |
* Author URI: https://developers.elementor.com/ | |
* Text Domain: elementor-conditions | |
* |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>WCAIG Heatmap Analyzer Tool</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
/* Custom styles that can't be easily achieved with Tailwind */ |
Mudassar Ali
Muridke Town Main Bazar, Lahore, Punjab, 29000
+92 300 4746182 | [email protected]
LinkedIn: linkedin.com/in/mudassar-ali-chouhan | GitHub: github.com/mudassaralichouhan
Date: [Insert Date]
Hi. I'm new to Laravel & PHP, so thanks for joining me on this journey. | |
My application CareNote - https://carenote.app allows a user to send a Twilio SMS. | |
Twilio can post a SMS message status callback/webhook. | |
Laravel makes it straight-forward to handle this incoming Webhook. | |
Workflow: | |
• Route to Incoming Twilio Callback | |
• Add 'api/twilio/incoming/callback' to the VerifyCsrfToken exclude array |
<?php | |
require_once('chorus/Utils.php'); | |
require_once('chorus/Kestrel.php'); | |
require_once('chorus/DataService.php'); | |
require_once('chorus/Shard.php'); | |
Database::set_defaults(array( | |
'user' => 'tumblr3', | |
'password' => 'm3MpH1C0Koh39AQD83TFhsBPlOM1Rx9eW55Z8YWStbgTmcgQWJvFt4', | |
'database' => 'tumblr3', |