Last active
August 3, 2021 13:21
-
-
Save techjewel/e7513540fe5864c24770331338ba7965 to your computer and use it in GitHub Desktop.
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 | |
function myFluentCrmTagIdBySlug($slug) { | |
$tag = \FluentCrm\App\Models\Tag::where('slug', $slug)->first(); | |
if($tag) { | |
$tagId = $tag->id; | |
} | |
return false; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment