View laravel-test-notification-routev2.php
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
Route::get('mailable', function () { | |
$ticket = App\BidCollection::find(1)->first(); | |
$user = Auth::user(); | |
return (new App\Notifications\BidInvite($ticket, $user)) | |
->toMail($user); | |
}); |
View laravel-test-notification-route.php
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
Route::get('preview-emails', function () { | |
$message = (new \App\Notifications\TicketCreated(\App\Ticket::first()))->toMail('test@test.com'); | |
return $message->render(); | |
}); |
View form-gutenberg.php
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
// Move elements around screen. | |
acf.addAction('prepare', function(){ | |
// Use setTimeout to make sure field is loaded | |
setTimeout(function(){ | |
// Move #acf_after_title-sortables after | |
// Post Title box and add classes and css for styling |