Skip to content

Instantly share code, notes, and snippets.

View multiplehats's full-sized avatar
🎯
Focusing

Chris Jayden multiplehats

🎯
Focusing
View GitHub Profile
@multiplehats
multiplehats / DialogProvider.vue
Created January 10, 2022 19:11 — forked from wobsoriano/DialogProvider.vue
Vuetify + Composition API Dialog component that can be used globally
<template>
<div v-frag>
<slot />
<v-dialog
v-model="isOpen"
:max-width="options.width"
:persistent="options.persistent"
>
<v-card>
<v-card-title>{{ title }}</v-card-title>
@multiplehats
multiplehats / class.php
Created December 19, 2020 15:12 — forked from hlashbrooke/class.php
A complete, versatile options page class for any WordPress plugin
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
class WordPress_Plugin_Template_Settings {
private $dir;
private $file;
private $assets_dir;
private $assets_url;
private $settings_base;