Skip to content

Instantly share code, notes, and snippets.

/**
* register Som Scripts to the Dom
* @param $isAdmin
* @return callable
*/
add_action("wp_enqueue_scripts", function() {
// Constantin CSS
wp_register_style(
"enquiss",
; ======================================
; = ClearVox UC Asterisk Module Config =
; ======================================
[modules]
; -----------
; APPS
; -----------
noload => app_adsiprog.so
noload => app_agent_pool.so
noload => app_alarmreceiver.so

README

Phone Provisioning

Phone Edit Additions and Changes Required

I have made the User Provisioning to be based around Phones. Phones can have a Provision assigned to them. There is an ajax endpoint for it at [POST]/phone-provisioning/ajax/toggle-provision/{phone_id}/{provision_id}

This will respond with {success:true/false}

Keybase proof

I hereby claim:

  • I am zogot on github.
  • I am zogot (https://keybase.io/zogot) on keybase.
  • I have a public key ASD8_9Bip8hGNPz8efdx1YSEmyjXvkPaKsIMAKoDVHNRPgo

To claim this, I am signing this object:

@zogot
zogot / functions.php
Last active April 14, 2020 06:05
WordPress Meta Boxes above the Editor. Including a sortable content area.
<?php
/**
* Prints all metaboxes with the above context
* above the editor
*/
function themeplugin_prefix_meta_box_above() {
global $post;
echo '<div id="postbox-container-3" class="postbox-container">';
do_meta_boxes( get_current_screen(), 'above', $post );
echo '</div>';