Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block hapidjus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hapidjus / form-gutenberg.php
Last active Mar 23, 2019
Fix for Advanced Custom Fields high priority
View form-gutenberg.php
// Move elements around screen.
acf.addAction('prepare', function(){
// Use setTimeout to make sure field is loaded
// Move #acf_after_title-sortables after
// Post Title box and add classes and css for styling
hapidjus / laravel-test-notification-route.php
Created Nov 24, 2019
Laravel Route to test send notification
View laravel-test-notification-route.php
Route::get('preview-emails', function () {
$message = (new \App\Notifications\TicketCreated(\App\Ticket::first()))->toMail('');
return $message->render();
hapidjus / laravel-test-notification-routev2.php
Created Dec 16, 2019
Test Laravel mailables in browser
View laravel-test-notification-routev2.php
Route::get('mailable', function () {
$ticket = App\BidCollection::find(1)->first();
$user = Auth::user();
return (new App\Notifications\BidInvite($ticket, $user))
You can’t perform that action at this time.