Iterators for PHP XMLReader for ease of parsing
-
0.1.10maintenance release with fixes. -
0.1.9maintenance release with fixes. added XMLReaderNode::expand(). -
0.1.8maintenance release with fixes.
XMLReader for ease of parsing0.1.10 maintenance release with fixes.
0.1.9 maintenance release with fixes. added XMLReaderNode::expand().
0.1.8 maintenance release with fixes.
| <?php | |
| /** | |
| * Plugin Name: Custom Post Types Example | |
| * Description: An example plugin to create custom post types with custom taxonomies and custom meta fields, including exposing to the REST API. | |
| * Plugin URI: http://kosso.co.uk | |
| * Version: 1.0.0 | |
| * Author: Kosso | |
| * Author URI: http://kosso.co.uk | |
| * License: GPLv2 | |
| * Network: true |
| <?php | |
| declare( strict_types=1 ); | |
| /* | |
| * Plugin Name: Demo App Passwords Client | |
| */ | |
| namespace TimothyBJacobs\AppPasswordsClientDemo; | |
| const META_KEY = '_app_passwords_client_demo_creds'; |
| (function($){ | |
| const $root = $( '#root' ); | |
| const $stage1 = $( '.stage-1', $root ); | |
| const $stage2 = $( '.stage-2', $root ); | |
| // If there's no GET string, then no credentials have been passed back. Let's get them. | |
| if ( ! window.location.href.includes('?') ) { | |
| // Stage 1: Get the WordPress Site URL, Validate the REST API, and Send to the Authentication Flow | |
| const $urlInput = $( 'input[type=url]', $stage1 ); |