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
| // Init Value Editor | |
| var editorID = 'editor-1'; | |
| // Init TextArea to WP Editor | |
| wp.editor.initialize( | |
| editorID , { | |
| 'tinymce': true, | |
| 'quicktags': true, | |
| 'mediaButtons' : true, | |
| }); |
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
| Class TemplatePage | |
| { | |
| public function __construct() | |
| { | |
| $this->templates = array(); | |
| if ( version_compare( floatval( get_bloginfo( 'version' ) ), '4.7', '<' ) ) { | |
| add_filter('page_attributes_dropdown_pages_args',array( $this, 'register' )); | |
| } else { | |
| add_filter('theme_page_templates', array( $this, 'create' )); | |
| } |
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
| $user = "lsdplugins"; | |
| $repo = "lsddonation-mynotif"; | |
| $api = " https://api.github.com/repos/$user/$repo/releases"; | |
| $headers = [ | |
| 'Accept' => 'application/vnd.github.v3+json', | |
| ]; | |
| $payload = [ | |
| 'timeout' => 30, |
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
| (defcfg | |
| danger-enable-cmd yes | |
| process-unmapped-keys yes | |
| concurrent-tap-hold yes | |
| linux-dev-names-include ("Keyboard K380 Keyboard") | |
| ) | |
| ;; ------------------------- | |
| ;; SOURCE LAYOUT | |
| ;; ------------------------- |
OlderNewer