-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #67
- Loading branch information
Showing
22 changed files
with
1,707 additions
and
2,466 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,16 @@ | ||
<?php | ||
/** | ||
* Plugin Name: QMX: ACF Data | ||
* Plugin URI: https://github.com/crstauf/query-monitor-extend/tree/master/acf | ||
* Description: Query Monitor data for ACF collector. | ||
* Version: 1.0.1 | ||
* Author: Caleb Stauffer | ||
* Author URI: https://develop.calebstauffer.com | ||
* Update URI: false | ||
*/ | ||
|
||
defined( 'WPINC' ) || die(); | ||
|
||
if ( defined( 'QM_DISABLED' ) && constant( 'QM_DISABLED' ) ) { | ||
return; | ||
} | ||
class QMX_Data_ACF extends QM_Data { | ||
|
||
if ( constant( 'QMX_DISABLED' ) ) { | ||
return; | ||
} | ||
public $fields = array(); | ||
public $field_keys = array(); | ||
public $post_ids = array(); | ||
public $callers = array(); | ||
public $counts = array(); | ||
public $field_groups = array(); | ||
public $local_json = array(); | ||
public $loaded_field_groups = array(); | ||
|
||
add_action( 'qmx/load_data/acf', static function () { | ||
|
||
class QMX_Data_ACF extends QM_Data { | ||
|
||
public $fields = array(); | ||
public $field_keys = array(); | ||
public $post_ids = array(); | ||
public $callers = array(); | ||
public $counts = array(); | ||
public $field_groups = array(); | ||
public $local_json = array(); | ||
public $loaded_field_groups = array(); | ||
|
||
} | ||
|
||
} ); | ||
} |
Oops, something went wrong.