array:224 [
"_GET" => []
"_POST" => []
"_COOKIE" => []
"_FILES" => []
"_SERVER" => array:33 [
"SERVER_SOFTWARE" => "nginx/1.25.4"
"REQUEST_URI" => "/en/tour/"
"TEMP" => "/home/pgfvrjxx/tmp"
"TMPDIR" => "/home/pgfvrjxx/tmp"
"TMP" => "/home/pgfvrjxx/tmp"
"PATH" => "/usr/local/bin:/usr/bin:/bin"
"USER" => "pgfvrjxx"
"HOME" => "/home/pgfvrjxx"
"HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
"HTTP_ACCEPT" => "*/*"
"HTTP_HOST" => "lakeview.al"
"REDIRECT_STATUS" => "200"
"SERVER_NAME" => "lakeview.al"
"SERVER_PORT" => "443"
"SERVER_ADDR" => "5.75.166.196"
"REMOTE_PORT" => "33909"
"REMOTE_ADDR" => "18.191.234.191"
"GATEWAY_INTERFACE" => "CGI/1.1"
"HTTPS" => "on"
"REQUEST_SCHEME" => "https"
"SERVER_PROTOCOL" => "HTTP/2.0"
"DOCUMENT_ROOT" => "/home/pgfvrjxx/web/lakeview.al/public_html"
"DOCUMENT_URI" => "/index.php"
"SCRIPT_NAME" => "/index.php"
"CONTENT_LENGTH" => ""
"CONTENT_TYPE" => ""
"REQUEST_METHOD" => "GET"
"QUERY_STRING" => ""
"SCRIPT_FILENAME" => "/home/pgfvrjxx/web/lakeview.al/public_html/index.php"
"FCGI_ROLE" => "RESPONDER"
"PHP_SELF" => "/index.php"
"REQUEST_TIME_FLOAT" => "1713623077.1413"
"REQUEST_TIME" => "1713623077"
]
"GLOBALS" => &1 array:224 [
"_GET" => & []
"_POST" => & []
"_COOKIE" => & []
"_FILES" => & []
"_SERVER" => & array:33 [
"SERVER_SOFTWARE" => "nginx/1.25.4"
"REQUEST_URI" => "/en/tour/"
"TEMP" => "/home/pgfvrjxx/tmp"
"TMPDIR" => "/home/pgfvrjxx/tmp"
"TMP" => "/home/pgfvrjxx/tmp"
"PATH" => "/usr/local/bin:/usr/bin:/bin"
"USER" => "pgfvrjxx"
"HOME" => "/home/pgfvrjxx"
"HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
"HTTP_ACCEPT" => "*/*"
"HTTP_HOST" => "lakeview.al"
"REDIRECT_STATUS" => "200"
"SERVER_NAME" => "lakeview.al"
"SERVER_PORT" => "443"
"SERVER_ADDR" => "5.75.166.196"
"REMOTE_PORT" => "33909"
"REMOTE_ADDR" => "18.191.234.191"
"GATEWAY_INTERFACE" => "CGI/1.1"
"HTTPS" => "on"
"REQUEST_SCHEME" => "https"
"SERVER_PROTOCOL" => "HTTP/2.0"
"DOCUMENT_ROOT" => "/home/pgfvrjxx/web/lakeview.al/public_html"
"DOCUMENT_URI" => "/index.php"
"SCRIPT_NAME" => "/index.php"
"CONTENT_LENGTH" => ""
"CONTENT_TYPE" => ""
"REQUEST_METHOD" => "GET"
"QUERY_STRING" => ""
"SCRIPT_FILENAME" => "/home/pgfvrjxx/web/lakeview.al/public_html/index.php"
"FCGI_ROLE" => "RESPONDER"
"PHP_SELF" => "/index.php"
"REQUEST_TIME_FLOAT" => "1713623077.1413"
"REQUEST_TIME" => "1713623077"
]
"GLOBALS" => &1 array:224 [&1]
"wfPHPMinimumVersion" => & "5.5.0"
"specifiedStorageEngine" => & false
"fallbackStorageEngine" => & false
"wfWAFStorageEngine" => & wfWAFStorageFile {#1}
"rulesFiles" => & array:1 [
0 => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/wflogs/rules.php"
]
"rulesFile" => & "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/wflogs/rules.php"
"wf_waf_failure" => & null
"wfPHPDeprecatingVersion" => & "7.0.0"
"wfOpenSSLDeprecatingVersion" => & "1.0.1"
"wfOpenSSLMinimumVersion" => & "1.0.1"
"wfWordPressDeprecatingVersion" => & "4.7.0"
"wfWordPressMinimumVersion" => & "3.9.0"
"HTTP_RAW_POST_DATA" => & ""
"wp_did_header" => & true
"table_prefix" => & "wp_"
"wp_version" => & "5.1.18"
"wp_db_version" => & 44719
"tinymce_version" => & "4920-20181217"
"required_php_version" => & "5.2.4"
"required_mysql_version" => & "5.0"
"wp_local_package" => & null
"blog_id" => & 1
"wp_filter" => & array:1212 [
"query" => WP_Hook {#8263}
"pre_term_name" => WP_Hook {#8265}
"pre_comment_author_name" => WP_Hook {#8266}
"pre_link_name" => WP_Hook {#8267}
"pre_link_target" => WP_Hook {#8268}
"pre_link_rel" => WP_Hook {#8269}
"pre_user_display_name" => WP_Hook {#8270}
"pre_user_first_name" => WP_Hook {#8271}
"pre_user_last_name" => WP_Hook {#8272}
"pre_user_nickname" => WP_Hook {#8273}
"term_name" => WP_Hook {#8274}
"comment_author_name" => WP_Hook {#8275}
"link_name" => WP_Hook {#8276}
"link_target" => WP_Hook {#8277}
"link_rel" => WP_Hook {#8278}
"user_display_name" => WP_Hook {#8279}
"user_first_name" => WP_Hook {#8280}
"user_last_name" => WP_Hook {#8281}
"user_nickname" => WP_Hook {#8282}
"pre_term_description" => WP_Hook {#8283}
"pre_link_description" => WP_Hook {#8284}
"pre_link_notes" => WP_Hook {#8285}
"pre_user_description" => WP_Hook {#8286}
"pre_comment_author_email" => WP_Hook {#8287}
"pre_user_email" => WP_Hook {#8288}
"comment_author_email" => WP_Hook {#8289}
"user_email" => WP_Hook {#8290}
"pre_comment_author_url" => WP_Hook {#8291}
"pre_user_url" => WP_Hook {#8292}
"pre_link_url" => WP_Hook {#8293}
"pre_link_image" => WP_Hook {#8294}
"pre_link_rss" => WP_Hook {#8295}
"pre_post_guid" => WP_Hook {#8296}
"user_url" => WP_Hook {#8297}
"link_url" => WP_Hook {#8298}
"link_image" => WP_Hook {#8299}
"link_rss" => WP_Hook {#8300}
"comment_url" => WP_Hook {#8301}
"post_guid" => WP_Hook {#8302}
"pre_term_slug" => WP_Hook {#8303}
"wp_insert_post_data" => WP_Hook {#8304}
"pre_post_type" => WP_Hook {#8305}
"pre_post_status" => WP_Hook {#8306}
"pre_post_comment_status" => WP_Hook {#8307}
"pre_post_ping_status" => WP_Hook {#8308}
"pre_post_mime_type" => WP_Hook {#8309}
"post_mime_type" => WP_Hook {#8310}
"register_meta_args" => WP_Hook {#8311}
"added_post_meta" => WP_Hook {#8312}
"updated_post_meta" => WP_Hook {#8313}
"deleted_post_meta" => WP_Hook {#8314}
"added_term_meta" => WP_Hook {#8315}
"updated_term_meta" => WP_Hook {#8316}
"deleted_term_meta" => WP_Hook {#8317}
"get_term_metadata" => WP_Hook {#8318}
"add_term_metadata" => WP_Hook {#8319}
"update_term_metadata" => WP_Hook {#8320}
"delete_term_metadata" => WP_Hook {#8321}
"get_term_metadata_by_mid" => WP_Hook {#8322}
"update_term_metadata_by_mid" => WP_Hook {#8323}
"delete_term_metadata_by_mid" => WP_Hook {#8324}
"update_term_metadata_cache" => WP_Hook {#8325}
"added_comment_meta" => WP_Hook {#8326}
"updated_comment_meta" => WP_Hook {#8327}
"deleted_comment_meta" => WP_Hook {#8328}
"content_save_pre" => WP_Hook {#8329}
"excerpt_save_pre" => WP_Hook {#8330}
"comment_save_pre" => WP_Hook {#8331}
"pre_comment_content" => WP_Hook {#8332}
"init" => WP_Hook {#8333}
"comment_author" => WP_Hook {#8334}
"link_description" => WP_Hook {#8335}
"link_notes" => WP_Hook {#8336}
"bloginfo" => WP_Hook {#8337}
"wp_title" => WP_Hook {#8338}
"widget_title" => WP_Hook {#8339}
"the_content" => WP_Hook {#8340}
"the_title" => WP_Hook {#8341}
"comment_text" => WP_Hook {#8342}
"single_post_title" => WP_Hook {#8343}
"single_cat_title" => WP_Hook {#8344}
"single_tag_title" => WP_Hook {#8345}
"single_month_title" => WP_Hook {#8346}
"nav_menu_attr_title" => WP_Hook {#8347}
"nav_menu_description" => WP_Hook {#8348}
"term_description" => WP_Hook {#8349}
"get_the_post_type_description" => WP_Hook {#8350}
"term_name_rss" => WP_Hook {#8351}
"wp_insert_post_parent" => WP_Hook {#8352}
"wp_update_term_parent" => WP_Hook {#8353}
"the_excerpt" => WP_Hook {#8354}
"get_the_excerpt" => WP_Hook {#8355}
"the_post_thumbnail_caption" => WP_Hook {#8356}
"comment_excerpt" => WP_Hook {#8357}
"list_cats" => WP_Hook {#8358}
"wp_sprintf" => WP_Hook {#8359}
"widget_text" => WP_Hook {#8360}
"widget_text_content" => WP_Hook {#8361}
"date_i18n" => WP_Hook {#8362}
"the_title_rss" => WP_Hook {#8363}
"the_content_rss" => WP_Hook {#8364}
"the_content_feed" => WP_Hook {#8365}
"the_excerpt_rss" => WP_Hook {#8366}
"comment_author_rss" => WP_Hook {#8367}
"comment_text_rss" => WP_Hook {#8368}
"bloginfo_rss" => WP_Hook {#8369}
"the_author" => WP_Hook {#8370}
"the_guid" => WP_Hook {#8371}
"publish_post" => WP_Hook {#8373}
"publish_page" => WP_Hook {#8374}
"wp_ajax_save-widget" => WP_Hook {#8375}
"wp_ajax_widgets-order" => WP_Hook {#8376}
"customize_save_after" => WP_Hook {#8377}
"option_ping_sites" => WP_Hook {#8378}
"option_blog_charset" => WP_Hook {#8379}
"option_home" => WP_Hook {#8380}
"option_siteurl" => WP_Hook {#8381}
"tiny_mce_before_init" => WP_Hook {#8382}
"teeny_mce_before_init" => WP_Hook {#8383}
"pre_kses" => WP_Hook {#8384}
"sanitize_title" => WP_Hook {#8385}
"check_comment_flood" => WP_Hook {#8386}
"comment_flood_filter" => WP_Hook {#8387}
"comment_email" => WP_Hook {#8388}
"option_tag_base" => WP_Hook {#8389}
"option_category_base" => WP_Hook {#8390}
"the_posts" => WP_Hook {#8391}
"comments_open" => WP_Hook {#8392}
"pings_open" => WP_Hook {#8393}
"editable_slug" => WP_Hook {#8394}
"nav_menu_meta_box_object" => WP_Hook {#8395}
"pingback_ping_source_uri" => WP_Hook {#8396}
"xmlrpc_pingback_error" => WP_Hook {#8397}
"title_save_pre" => WP_Hook {#8398}
"transition_comment_status" => WP_Hook {#8399}
"http_request_host_is_external" => WP_Hook {#8400}
"xmlrpc_rsd_apis" => WP_Hook {#8401}
"wp_head" => WP_Hook {#8402}
"template_redirect" => WP_Hook {#8403}
"auth_cookie_malformed" => WP_Hook {#8404}
"auth_cookie_expired" => WP_Hook {#8405}
"auth_cookie_bad_username" => WP_Hook {#8406}
"auth_cookie_bad_hash" => WP_Hook {#8407}
"auth_cookie_valid" => WP_Hook {#8408}
"rest_authentication_errors" => WP_Hook {#8409}
"publish_future_post" => WP_Hook {#8410}
"wp_footer" => WP_Hook {#8411}
"wp_print_footer_scripts" => WP_Hook {#8412}
"after_switch_theme" => WP_Hook {#8413}
"login_head" => WP_Hook {#8415}
"login_footer" => WP_Hook {#8416}
"login_init" => WP_Hook {#8417}
"rss2_head" => WP_Hook {#8418}
"commentsrss2_head" => WP_Hook {#8419}
"rss_head" => WP_Hook {#8420}
"rdf_header" => WP_Hook {#8421}
"atom_head" => WP_Hook {#8422}
"comments_atom_head" => WP_Hook {#8423}
"opml_head" => WP_Hook {#8424}
"app_head" => WP_Hook {#8425}
"do_feed_rdf" => WP_Hook {#8426}
"do_feed_rss" => WP_Hook {#8427}
"do_feed_rss2" => WP_Hook {#8428}
"do_feed_atom" => WP_Hook {#8429}
…1048
]
"wpdb" => & wpdb {#8261}
"locale" => & "en_US"
"_ENV" => & []
"_REQUEST" => & []
"wp_actions" => & array:61 [ …61]
"wp_current_filter" => & []
"PHP_SELF" => & "/index.php"
"timestart" => & 1713623077.184
"_wp_using_ext_object_cache" => & null
"wp_object_cache" => & WP_Object_Cache {#8264}
"allowedposttags" => & array:81 [ …81]
"allowedtags" => & array:14 [ …14]
"allowedentitynames" => & array:253 [ …253]
"shortcode_tags" => & array:10 [ …10]
"wp_registered_sidebars" => & array:1 [ …1]
"wp_registered_widgets" => & array:20 [ …20]
"wp_registered_widget_controls" => & array:20 [ …20]
"wp_registered_widget_updates" => & array:20 [ …20]
"_wp_sidebars_widgets" => & array:3 [ …3]
"_wp_deprecated_widgets_callbacks" => & array:22 [ …22]
"wp_embed" => & WP_Embed {#8890}
"wp_plugin_paths" => & []
"pagenow" => & "index.php"
"is_lynx" => & false
"is_gecko" => & true
"is_winIE" => & false
"is_macIE" => & false
"is_opera" => & false
"is_NS4" => & false
"is_safari" => & false
"is_chrome" => & false
"is_iphone" => & false
"is_IE" => & false
"is_edge" => & false
"is_apache" => & false
"is_IIS" => & false
"is_iis7" => & false
"is_nginx" => & true
"wp_rewrite" => & WP_Rewrite {#9380}
"wp_taxonomies" => & array:10 [ …10]
"l10n" => & array:1 [ …1]
"l10n_unloaded" => & array:1 [ …1]
"wp" => & WP {#9381}
"_wp_theme_features" => & array:8 [ …8]
"wp_post_types" => & array:23 [ …23]
"post_type_meta_caps" => & array:10 [ …10]
"_wp_post_type_features" => & array:22 [ …22]
"wp_post_statuses" => & array:13 [ …13]
"wp_theme_directories" => & array:1 [ …1]
"acf" => & ACF {#8773}
"acf_stores" => & array:18 [ …18]
"acf_instances" => & array:17 [ …17]
"acf_uniqid" => & 19
"acf_options_page" => & acf_options_page {#8603}
"wpcom_api_key" => & ""
"akismet_api_host" => & ".rest.akismet.com"
"akismet_api_port" => & 80
"plugin_file" => & """
<?php\n
/*\n
* Plugin Name: Intuitive Custom Post Order\n
* Plugin URI: http://hijiriworld.com/web/plugins/intuitive-custom-post-order/\n
* Description: Intuitively, Order Items (Posts, Pages, ,Custom Post Types, Custom Taxonomies, Sites) using a Drag and Drop Sortable JavaScript.\n
* Version: 3.1.5\n
* Author: hijiri\n
* Author URI: http://hijiriworld.com/web/\n
* Text Domain: intuitive-custom-post-order\n
* Domain Path: /languages\n
* License: GPLv2 or later\n
* License URI: http://www.gnu.org/licenses/gpl-2.0.html\n
*/\n
\n
/**\n
* Define\n
*/\n
define( 'HICPO_URL', plugins_url( '', __FILE__ ) );\n
define( 'HICPO_DIR', plugin_dir_path( __FILE__ ) );\n
\n
$plugin_file = file_get_contents( __FILE__ );\n
preg_match( '/Version:\s*([^\s]+)/i', $plugin_file, $version_matches );\n
$plugin_version = $version_matches[1];\n
define( 'HICPO_VER', $plugin_version );\n
\n
/**\n
* Uninstall hook\n
*/\n
register_uninstall_hook( __FILE__, 'hicpo_uninstall' );\n
function hicpo_uninstall() {\n
\tglobal $wpdb;\n
\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t$blogids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );\n
\t\tforeach ( $blogids as $blog_id ) {\n
\t\t\tswitch_to_blog( $blog_id );\n
\t\t\thicpo_uninstall_db_terms();\n
\t\t}\n
\t\trestore_current_blog();\n
\t\thicpo_uninstall_db_blogs();\n
\t} else {\n
\t\thicpo_uninstall_db_terms();\n
\t}\n
\tdelete_option( 'hicpo_activation' ); // old version before than 3.1.0\n
\tdelete_option( 'hicpo_ver' );\n
}\n
\n
// drop term_order COLUMN to $wpdb->terms TABLE\n
function hicpo_uninstall_db_terms() {\n
\tglobal $wpdb;\n
\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t$result = $wpdb->query( "DESCRIBE $wpdb->terms `term_order`" );\n
\tif ( $result ) {\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t\t$result = $wpdb->query( "ALTER TABLE $wpdb->terms DROP `term_order`" );\n
\t}\n
}\n
\n
// drop menu_order COLUMN to $wpdb->blogs TABLE\n
function hicpo_uninstall_db_blogs() {\n
\tglobal $wpdb;\n
\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t$result = $wpdb->query( "DESCRIBE $wpdb->blogs `menu_order`" );\n
\tif ( $result ) {\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t\t$result = $wpdb->query( "ALTER TABLE $wpdb->blogs DROP `menu_order`" );\n
\t}\n
}\n
\n
/**\n
* Class & Method\n
*/\n
\n
$hicpo = new Hicpo();\n
\n
class Hicpo {\n
\n
\t/**\n
\t * Construct\n
\t */\n
\tpublic function __construct() {\n
\t\t // activation\n
\t\t$hicpo_ver = get_option( 'hicpo_ver' );\n
\t\tif ( version_compare( $hicpo_ver, HICPO_VER ) < 0 ) {\n
\t\t\t$this->hicpo_activation();\n
\t\t}\n
\n
\t\t// textdomain\n
\t\tadd_action( 'plugins_loaded', [ $this, 'hicpo_load_plugin_textdomain' ] );\n
\n
\t\t// add menu\n
\t\tadd_action( 'admin_menu', [ $this, 'hicpo_admin_menu' ] );\n
\n
\t\t// admin init\n
\t\tif ( empty( $_GET ) ) {\n
\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_refresh' ] );\n
\t\t}\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_add_capabilities' ] );\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_update_options' ] );\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_load_script_css' ] );\n
\n
\t\t// sortable ajax action\n
\t\tadd_action( 'wp_ajax_update-menu-order', [ $this, 'hicpo_update_menu_order' ] );\n
\t\tadd_action( 'wp_ajax_update-menu-order-tags', [ $this, 'hicpo_update_menu_order_tags' ] );\n
\n
\t\t// reorder post types\n
\t\tadd_action( 'pre_get_posts', [ $this, 'hicpo_pre_get_posts' ] );\n
\n
\t\tadd_filter( 'get_previous_post_where', [ $this, 'hicpo_previous_post_where' ] );\n
\t\tadd_filter( 'get_previous_post_sort', [ $this, 'hicpo_previous_post_sort' ] );\n
\t\tadd_filter( 'get_next_post_where', [ $this, 'hicpo_next_post_where' ] );\n
\t\tadd_filter( 'get_next_post_sort', [ $this, 'hicpo_next_post_sort' ] );\n
\n
\t\t// reorder taxonomies\n
\t\tadd_filter( 'get_terms_orderby', [ $this, 'hicpo_get_terms_orderby' ], 10, 3 );\n
\t\tadd_filter( 'wp_get_object_terms', [ $this, 'hicpo_get_object_terms' ], 10, 3 );\n
\t\tadd_filter( 'get_terms', [ $this, 'hicpo_get_object_terms' ], 10, 3 );\n
\n
\t\t// reorder sites\n
\t\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t\tadd_action( 'network_admin_menu', [ $this, 'hicpo_network_admin_menu' ] );\n
\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_update_network_options' ] );\n
\t\t\tadd_action( 'wp_ajax_update-menu-order-sites', [ $this, 'hicpo_update_menu_order_sites' ] );\n
\n
\t\t\t// networkadmin サイト削除時はサイト並び替え除外\n
\t\t\tif (\n
\t\t\t\tempty( $_SERVER['QUERY_STRING'] ) ||\n
\t\t\t\t( ! empty( $_SERVER['QUERY_STRING'] ) &&\n
\t\t\t\t\t'action=deleteblog' !== $_SERVER['QUERY_STRING'] && // delete\n
\t\t\t\t\t'action=allblogs' !== $_SERVER['QUERY_STRING'] // delete all\n
\t\t\t\t)\n
\t\t\t) {\n
\n
\t\t\t\t// call from 'get_sites'\n
\t\t\t\tadd_filter( 'sites_clauses', [ $this, 'hicpo_sites_clauses' ], 10, 1 );\n
\n
\t\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_refresh_network' ] );\n
\n
\t\t\t\t// adminbar sites reorder\n
\t\t\t\tadd_filter( 'get_blogs_of_user', [ $this, 'hicpo_get_blogs_of_user' ], 10, 3 );\n
\t\t\t}\n
\n
\t\t\t// before wp v4.6.0 * wp_get_sites\n
\t\t\tadd_action( 'init', [ $this, 'hicpo_refresh_front_network' ] );\n
\t\t}\n
\t}\n
\n
\t/**\n
\t * Method\n
\t */\n
\tpublic function hicpo_activation() {\n
\t\tglobal $wpdb;\n
\n
\t\t// add term_order COLUMN to $wpdb->terms TABLE\n
\t\t$result = $wpdb->query( "DESCRIBE $wpdb->terms `term_order`" );\n
\t\tif ( ! $result ) {\n
\t\t\t$query = "ALTER TABLE $wpdb->terms ADD `term_order` INT( 4 ) NULL DEFAULT '0'";\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- it is ok.\n
\t\t\t$result = $wpdb->query( $query );\n
\t\t}\n
\n
\t\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t\t// add menu_order COLUMN to $wpdb->blogs TABLE\n
\t\t\t$result = $wpdb->query( "DESCRIBE $wpdb->blogs `menu_order`" );\n
\t\t\tif ( ! $result ) {\n
\t\t\t\t$query = "ALTER TABLE $wpdb->blogs ADD `menu_order` INT( 4 ) NULL DEFAULT '0'";\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- it is ok.\n
\t\t\t\t$result = $wpdb->query( $query );\n
\t\t\t}\n
\t\t}\n
\t\tupdate_option( 'hicpo_ver', HICPO_VER );\n
\t}\n
\n
\tpublic function hicpo_load_plugin_textdomain() {\n
\t\tload_plugin_textdomain(\n
\t\t\t'intuitive-custom-post-order',\n
\t\t\tfalse,\n
\t\t\tbasename( __DIR__ ) . '/languages/'\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_admin_menu() {\n
\t\tadd_options_page(\n
\t\t\t__( 'Intuitive CPO', 'intuitive-custom-post-order' ),\n
\t\t\t__( 'Intuitive CPO', 'intuitive-custom-post-order' ),\n
\t\t\t'manage_options',\n
\t\t\t'hicpo-settings',\n
\t\t\t[ $this, 'hicpo_admin_page' ]\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_admin_page() {\n
\t\trequire HICPO_DIR . 'admin/settings.php';\n
\t}\n
\n
\tpublic function hicpo_network_admin_menu() {\n
\t\tadd_submenu_page(\n
\t\t\t'settings.php',\n
\t\t\t__( 'Intuitive CPO', 'hicpo' ),\n
\t\t\t__( 'Intuitive CPO', 'hicpo' ),\n
\t\t\t'manage_options',\n
\t\t\t'hicpo-network-settings',\n
\t\t\t[ $this, 'hicpo_network_admin_page' ]\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_network_admin_page() {\n
\t\trequire HICPO_DIR . 'admin/settings-network.php';\n
\t}\n
\n
\tprivate function _hicpo_check_load_script_css() {\n
\t\tglobal $pagenow, $typenow;\n
\n
\t\t$active = false;\n
\n
\t\tif ( ! current_user_can( 'hicpo_load_script_css' ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// multisite > sites\n
\t\tif (\n
\t\t\tfunction_exists( 'is_multisite' )\n
\t\t\t&& is_multisite()\n
\t\t\t&& 'sites.php' == $pagenow\n
\t\t\t&& get_option( 'hicpo_network_sites' )\n
\t\t) {\n
\t\t\treturn true;\n
\t\t}\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( empty( $objects ) && empty( $tags ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// exclude when orderby is set or at add new or edit page\n
\t\t$is_orderby_set = isset( $_GET['orderby'] );\n
\t\t$is_edit_action_or_new_post = (\n
\t\t\tisset( $_SERVER['REQUEST_URI'] ) &&\n
\t\t\t(\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'action=edit' ) ||\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'wp-admin/post-new.php' )\n
\t\t\t)\n
\t\t);\n
\t\tif ( $is_orderby_set || $is_edit_action_or_new_post ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\t// page or custom post type\n
\t\t\tif ( isset( $_GET['post_type'] ) && ! isset( $_GET['taxonomy'] ) && in_array( $_GET['post_type'], $objects ) ) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\n
\t\t\t// post\n
\t\t\tif (\n
\t\t\t\t! isset( $_GET['post_type'] ) &&\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'wp-admin/edit.php' ) &&\n
\t\t\t\tin_array( 'post', $objects )\n
\t\t\t) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tif ( isset( $_GET['taxonomy'] ) && in_array( $_GET['taxonomy'], $tags ) ) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\t\t}\n
\n
\t\treturn $active;\n
\t}\n
\n
\tpublic function hicpo_load_script_css() {\n
\t\tif ( $this->_hicpo_check_load_script_css() ) {\n
\t\t\twp_enqueue_script( 'jquery' );\n
\t\t\twp_enqueue_script( 'jquery-ui-sortable' );\n
\n
\t\t\twp_enqueue_script( 'hicpojs', HICPO_URL . '/js/hicpo.js', [ 'jquery' ], HICPO_VER, true );\n
\t\t\twp_localize_script( 'hicpojs', 'hicpojs_ajax_vars', [ 'nonce' => wp_create_nonce( 'hicpojs-ajax-nonce' ) ] );\n
\n
\t\t\twp_enqueue_style( 'hicpo', HICPO_URL . '/css/hicpo.css', [], HICPO_VER );\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh() {\n
\t\tglobal $wpdb;\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\tforeach ( $objects as $object ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT ID\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\tORDER BY menu_order ASC\n
\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $key + 1 ], [ 'ID' => $result->ID ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tforeach ( $tags as $taxonomy ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(term_order) as max, min(term_order) as min\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT terms.term_id\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t\tORDER BY term_order ASC\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $key + 1 ], [ 'term_id' => $result->term_id ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh_network() {\n
\t\tglobal $pagenow;\n
\t\tif ( 'sites.php' === $pagenow && ! isset( $_GET['orderby'] ) ) {\n
\t\t\tadd_filter( 'query', [ $this, 'hicpo_refresh_network_2' ] );\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh_network_2( $query ) {\n
\t\tglobal $wpdb, $wp_version, $blog_id;\n
\n
\t\t/**\n
\t\t * after wp4.7.0\n
\t\t * ブログのステータスが公開以外の際、$blog_id=1以外のoptionを取得しようとする処理のSQLを除外する\n
\t\t * eq.) SELECT option_name, option_value FROM wp_11_options WHERE autoload = 'yes'\n
\t\t */\n
\n
\t\t// $wpdb->get_varやswitch_to_blog(1)からのget_optionでは処理が止まるため、$blog_idで判別\n
\t\tif ( version_compare( $wp_version, '4.7.0' ) >= 0 ) {\n
\t\t\tif ( 1 !== $blog_id ) {\n
\t\t\t\treturn $query;\n
\t\t\t}\n
\t\t}\n
\n
\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\treturn $query;\n
\t\t}\n
\n
\t\tif (\n
\t\t\tfalse !== strpos( $query, "SELECT * FROM $wpdb->blogs WHERE site_id = '1'" ) ||\n
\t\t\tfalse !== strpos( $query, "SQL_CALC_FOUND_ROWS blog_id FROM $wpdb->blogs WHERE site_id = 1" )\n
\t\t) {\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $query;\n
\t}\n
\n
\tpublic function hicpo_update_menu_order() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// get objects per now page\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\t// get menu_order of objects per now page\n
\t\t$menu_order_arr = [];\n
\t\tforeach ( $id_arr as $key => $id ) {\n
\t\t\t$results = $wpdb->get_results( "SELECT menu_order FROM $wpdb->posts WHERE ID = " . intval( $id ) );\n
\t\t\tforeach ( $results as $result ) {\n
\t\t\t\t$menu_order_arr[] = $result->menu_order;\n
\t\t\t}\n
\t\t}\n
\n
\t\t// maintains key association = no\n
\t\tsort( $menu_order_arr );\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $menu_order_arr[ $position ] ], [ 'ID' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\t// same number check\n
\t\t$post_type = get_post_type( $id );\n
\t\t$query = $wpdb->prepare(\n
\t\t\t"\n
\t\t\tSELECT COUNT(menu_order) AS mo_count, post_type, menu_order FROM $wpdb->posts\n
\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\tAND menu_order > 0 GROUP BY post_type, menu_order HAVING (mo_count) > 1\n
\t\t\t",\n
\t\t\t$post_type\n
\t\t);\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t$results = $wpdb->get_results( $query );\n
\t\tif ( count( $results ) > 0 ) {\n
\t\t\t// menu_order refresh\n
\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t"\n
\t\t\tSELECT ID, menu_order FROM $wpdb->posts\n
\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\tAND menu_order > 0 ORDER BY menu_order\n
\t\t\t",\n
\t\t\t\t$post_type\n
\t\t\t);\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$view_posi = array_search( $result->ID, $id_arr, true );\n
\t\t\t\tif ( false === $view_posi ) {\n
\t\t\t\t\t$view_posi = 999;\n
\t\t\t\t}\n
\t\t\t\t$sort_key = ( $result->menu_order * 1000 ) + $view_posi;\n
\t\t\t\t$sort_ids[ $sort_key ] = $result->ID;\n
\t\t\t}\n
\t\t\tksort( $sort_ids );\n
\t\t\t$oreder_no = 0;\n
\t\t\tforeach ( $sort_ids as $key => $id ) {\n
\t\t\t\t$oreder_no = ++$oreder_no;\n
\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $oreder_no ], [ 'ID' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_update_menu_order_tags() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\t$menu_order_arr = [];\n
\t\tforeach ( $id_arr as $key => $id ) {\n
\t\t\t$results = $wpdb->get_results( "SELECT term_order FROM $wpdb->terms WHERE term_id = " . intval( $id ) );\n
\t\t\tforeach ( $results as $result ) {\n
\t\t\t\t$menu_order_arr[] = $result->term_order;\n
\t\t\t}\n
\t\t}\n
\t\tsort( $menu_order_arr );\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $menu_order_arr[ $position ] ], [ 'term_id' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\t// same number check\n
\t\t$term = get_term( $id );\n
\t\t$taxonomy = $term->taxonomy;\n
\t\t$query = $wpdb->prepare(\n
\t\t\t"\n
\t\t\tSELECT COUNT(term_order) AS to_count, term_order\n
\t\t\tFROM $wpdb->terms AS terms\n
\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\tWHERE term_taxonomy.taxonomy = %s GROUP BY taxonomy, term_order HAVING (to_count) > 1\n
\t\t\t",\n
\t\t\t$taxonomy\n
\t\t);\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t$results = $wpdb->get_results( $query );\n
\n
\t\tif ( count( $results ) > 0 ) {\n
\t\t\t// term_order refresh\n
\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t"\n
\t\t\t\tSELECT terms.term_id, term_order\n
\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\tORDER BY term_order ASC\n
\t\t\t\t",\n
\t\t\t\t$taxonomy\n
\t\t\t);\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t$results = $wpdb->get_results( $query );\n
\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$view_posi = array_search( $result->term_id, $id_arr, true );\n
\t\t\t\tif ( false === $view_posi ) {\n
\t\t\t\t\t$view_posi = 999;\n
\t\t\t\t}\n
\t\t\t\t$sort_key = ( $result->term_order * 1000 ) + $view_posi;\n
\t\t\t\t$sort_ids[ $sort_key ] = $result->term_id;\n
\t\t\t}\n
\t\t\tksort( $sort_ids );\n
\t\t\t$oreder_no = 0;\n
\t\t\tforeach ( $sort_ids as $key => $id ) {\n
\t\t\t\t$oreder_no = ++$oreder_no;\n
\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $oreder_no ], [ 'term_id' => $id ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_update_menu_order_sites() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order_sites' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->blogs, [ 'menu_order' => $position + 1 ], [ 'blog_id' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\t/**\n
\t * はじめて有効化されたオブジェクトは、ディフォルトの order に従って menu_order セットする\n
\t *\n
\t * post_type: orderby=post_date, order=DESC\n
\t * page: orderby=menu_order, post_title, order=ASC\n
\t * taxonomy: orderby=name, order=ASC\n
\t *\n
\t * 判定は: アイテム数が 0 以上で menu_order の最大値とアイテム数が同じではないオブジェクト\n
\t */\n
\n
\tpublic function hicpo_update_options() {\n
\t\tglobal $wpdb;\n
\n
\t\tif ( ! isset( $_POST['hicpo_submit'] ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tcheck_admin_referer( 'nonce_hicpo' );\n
\n
\t\t$input_options = [];\n
\t\t$input_options['objects'] = isset( $_POST['objects'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['objects'] ) ) : [];\n
\t\t$input_options['tags'] = isset( $_POST['tags'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['tags'] ) ) : [];\n
\n
\t\tupdate_option( 'hicpo_options', $input_options );\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\tforeach ( $objects as $object ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\tif ( 'page' == $object ) {\n
\t\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t\t"\n
\t\t\t\t\t\tSELECT ID\n
\t\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t\tORDER BY menu_order, post_title ASC\n
\t\t\t\t\t",\n
\t\t\t\t\t\t$object\n
\t\t\t\t\t);\n
\t\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\t} else {\n
\t\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t\t"\n
\t\t\t\t\t\tSELECT ID\n
\t\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t\tORDER BY post_date DESC\n
\t\t\t\t\t",\n
\t\t\t\t\t\t$object\n
\t\t\t\t\t);\n
\t\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\t}\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $key + 1 ], [ 'ID' => $result->ID ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tforeach ( $tags as $taxonomy ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(term_order) as max, min(term_order) as min\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT terms.term_id\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t\tORDER BY name ASC\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $key + 1 ], [ 'term_id' => $result->term_id ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\twp_redirect( 'admin.php?page=hicpo-settings&msg=update' );\n
\t}\n
\n
\tpublic function hicpo_update_network_options() {\n
\t\tglobal $wpdb;\n
\n
\t\tif ( ! isset( $_POST['hicpo_network_submit'] ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tcheck_admin_referer( 'nonce_hicpo' );\n
\n
\t\t$hicpo_network_sites = isset( $_POST['sites'] ) ? sanitize_text_field( wp_unslash( $_POST['sites'] ) ) : 0;\n
\n
\t\tupdate_option( 'hicpo_network_sites', $hicpo_network_sites );\n
\n
\t\t// Initial\n
\t\t$result = $wpdb->get_results(\n
\t\t\t"\n
\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\tFROM $wpdb->blogs\n
\t\t\t"\n
\t\t);\n
\t\tif ( 0 != $result[0]->cnt && $result[0]->cnt != $result[0]->max ) {\n
\t\t\t$results = $wpdb->get_results(\n
\t\t\t\t"\n
\t\t\t\tSELECT blog_id\n
\t\t\t\tFROM $wpdb->blogs\n
\t\t\t\tORDER BY blog_id ASC\n
\t\t\t"\n
\t\t\t);\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$wpdb->update( $wpdb->blogs, [ 'menu_order' => $key + 1 ], [ 'blog_id' => $result->blog_id ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\twp_redirect( 'settings.php?page=hicpo-network-settings&msg=update' );\n
\t}\n
\n
\tpublic function hicpo_previous_post_where( $where ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $where;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$current_menu_order = $post->menu_order;\n
\t\t\t$where = str_replace( "p.post_date < '" . $post->post_date . "'", "p.menu_order > '" . $current_menu_order . "'", $where );\n
\t\t}\n
\t\treturn $where;\n
\t}\n
\n
\tpublic function hicpo_previous_post_sort( $orderby ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$orderby = 'ORDER BY p.menu_order ASC LIMIT 1';\n
\t\t}\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_next_post_where( $where ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $where;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$current_menu_order = $post->menu_order;\n
\t\t\t$where = str_replace( "p.post_date > '" . $post->post_date . "'", "p.menu_order < '" . $current_menu_order . "'", $where );\n
\t\t}\n
\t\treturn $where;\n
\t}\n
\n
\tpublic function hicpo_next_post_sort( $orderby ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$orderby = 'ORDER BY p.menu_order DESC LIMIT 1';\n
\t\t}\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_pre_get_posts( $wp_query ) {\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t/**\n
\t\t * for Admin\n
\t\t *\n
\t\t * @default\n
\t\t * post cpt: [order] => null(desc) [orderby] => null(date)\n
\t\t * page: [order] => asc [orderby] => menu_order title\n
\t\t *\n
\t\t */\n
\t\tif ( is_admin() ) {\n
\n
\t\t\t// adminの場合 $wp_query->query['post_type']=post も渡される\n
\t\t\tif ( isset( $wp_query->query['post_type'] ) && ! isset( $_GET['orderby'] ) ) {\n
\t\t\t\tif ( in_array( $wp_query->query['post_type'], $objects ) ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t}\n
\t\t\t}\n
\n
\t\t\t/**\n
\t\t\t * for Front End\n
\t\t\t */\n
\t\t} else {\n
\n
\t\t\t$active = false;\n
\n
\t\t\t// page or custom post types\n
\t\t\tif ( isset( $wp_query->query['post_type'] ) ) {\n
\t\t\t\t// exclude array()\n
\t\t\t\tif ( ! is_array( $wp_query->query['post_type'] ) ) {\n
\t\t\t\t\tif ( in_array( $wp_query->query['post_type'], $objects ) ) {\n
\t\t\t\t\t\t$active = true;\n
\t\t\t\t\t}\n
\t\t\t\t}\n
\t\t\t\t// post\n
\t\t\t} elseif ( in_array( 'post', $objects ) ) {\n
\t\t\t\t\t$active = true;\n
\t\t\t}\n
\n
\t\t\tif ( ! $active ) {\n
\t\t\t\treturn false;\n
\t\t\t}\n
\n
\t\t\t// get_posts()\n
\t\t\tif ( isset( $wp_query->query['suppress_filters'] ) ) {\n
\t\t\t\tif ( $wp_query->get( 'orderby' ) == 'date' || $wp_query->get( 'orderby' ) == 'menu_order' ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t} elseif ( $wp_query->get( 'orderby' ) == 'default_date' ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'date' );\n
\t\t\t\t}\n
\t\t\t\t// WP_Query( contain main_query )\n
\t\t\t} else {\n
\t\t\t\tif ( ! $wp_query->get( 'orderby' ) ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t}\n
\t\t\t\tif ( ! $wp_query->get( 'order' ) ) {\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_get_terms_orderby( $orderby, $args ) {\n
\t\tif ( is_admin() ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! isset( $args['taxonomy'] ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$taxonomy = $args['taxonomy'];\n
\t\tif ( ! in_array( $taxonomy, $tags ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$orderby = 't.term_order';\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_get_object_terms( $terms ) {\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( is_admin() && isset( $_GET['orderby'] ) ) {\n
\t\t\treturn $terms;\n
\t\t}\n
\n
\t\tforeach ( $terms as $key => $term ) {\n
\t\t\tif ( is_object( $term ) && isset( $term->taxonomy ) ) {\n
\t\t\t\t$taxonomy = $term->taxonomy;\n
\t\t\t\tif ( ! in_array( $taxonomy, $tags ) ) {\n
\t\t\t\t\treturn $terms;\n
\t\t\t\t}\n
\t\t\t} else {\n
\t\t\t\treturn $terms;\n
\t\t\t}\n
\t\t}\n
\n
\t\tusort( $terms, [ $this, 'hicpo_taxcmp' ] );\n
\t\treturn $terms;\n
\t}\n
\n
\tprivate function hicpo_taxcmp( $a, $b ) {\n
\t\tif ( $a->term_order == $b->term_order ) {\n
\t\t\treturn 0;\n
\t\t}\n
\t\treturn ( $a->term_order < $b->term_order ) ? -1 : 1;\n
\t}\n
\n
\tpublic function hicpo_sites_clauses( $pieces = [] ) {\n
\t\tglobal $blog_id;\n
\n
\t\tif ( is_admin() ) {\n
\t\t\treturn $pieces;\n
\t\t}\n
\t\tif ( 1 != $blog_id ) {\n
\t\t\tswitch_to_blog( 1 );\n
\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\trestore_current_blog();\n
\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\treturn $pieces;\n
\t\t\t}\n
\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\treturn $pieces;\n
\t\t}\n
\n
\t\tglobal $wp_version;\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) >= 0 ) {\n
\t\t\t// サイト並び替え指定がデフォルトの場合のみ並び替え\n
\t\t\tif ( 'blog_id ASC' === $pieces['orderby'] ) {\n
\t\t\t\t$pieces['orderby'] = 'menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $pieces;\n
\t}\n
\n
\tpublic function hicpo_get_blogs_of_user( $blogs ) {\n
\t\tglobal $blog_id;\n
\t\tif ( 1 != $blog_id ) {\n
\t\t\tswitch_to_blog( 1 );\n
\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\trestore_current_blog();\n
\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\treturn $blogs;\n
\t\t\t}\n
\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\treturn $blogs;\n
\t\t}\n
\t\tglobal $wpdb, $wp_version;\n
\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) >= 0 ) {\n
\t\t\t$sites = get_sites( [] );\n
\t\t\t$sort_keys = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\t$sort_keys[] = $v->menu_order;\n
\t\t\t}\n
\t\t\tarray_multisort( $sort_keys, SORT_ASC, $sites );\n
\n
\t\t\t$blog_list = [];\n
\t\t\tforeach ( $blogs as $k => $v ) {\n
\t\t\t\t$blog_list[ $v->userblog_id ] = $v;\n
\t\t\t}\n
\n
\t\t\t$new = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\tif (\n
\t\t\t\t\tisset( $v->blog_id ) &&\n
\t\t\t\t\tisset( $blog_list[ $v->blog_id ] ) &&\n
\t\t\t\t\tis_object( $blog_list[ $v->blog_id ] )\n
\t\t\t\t) {\n
\t\t\t\t\t$new[] = $blog_list[ $v->blog_id ];\n
\t\t\t\t}\n
\t\t\t}\n
\t\t} else {\n
\t\t\t$sites = get_sites( [ 'limit' => 9999 ] );\n
\t\t\t$sort_keys = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\t$sort_keys[] = $v['menu_order'];\n
\t\t\t}\n
\t\t\tarray_multisort( $sort_keys, SORT_ASC, $sites );\n
\n
\t\t\t$blog_list = [];\n
\t\t\tforeach ( $blogs as $k => $v ) {\n
\t\t\t\t$blog_list[ $v->userblog_id ] = $v;\n
\t\t\t}\n
\n
\t\t\t$new = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\tif (\n
\t\t\t\t\tisset( $v['blog_id'] ) &&\n
\t\t\t\t\tisset( $blog_list[ $v['blog_id'] ] ) &&\n
\t\t\t\t\tis_object( $blog_list[ $v['blog_id'] ] )\n
\t\t\t\t) {\n
\t\t\t\t\t$new[] = $blog_list[ $v['blog_id'] ];\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t\treturn $new;\n
\t}\n
\n
\t/* before wp v4.6.0 */\n
\tpublic function hicpo_refresh_front_network() {\n
\t\t global $wp_version;\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) < 0 ) {\n
\t\t\tglobal $blog_id;\n
\t\t\tif ( 1 != $blog_id ) {\n
\t\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\t\trestore_current_blog();\n
\t\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\t\treturn;\n
\t\t\t\t}\n
\t\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\t\treturn;\n
\t\t\t}\n
\t\t\tadd_filter( 'query', [ $this, 'hicpo_refresh_front_network_2' ] );\n
\t\t}\n
\t}\n
\tpublic function hicpo_refresh_front_network_2( $query ) {\n
\t\tglobal $wpdb;\n
\t\tif ( false !== strpos( $query, "SELECT blog_id FROM $wpdb->blogs ORDER BY blog_id ASC" ) ) {\n
\t\t\t$query = str_replace( 'ORDER BY blog_id ASC', '', $query );\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t} elseif ( false !== strpos( $query, "SELECT * FROM $wpdb->blogs WHERE 1=1 AND site_id IN (1)" ) ) {\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $query;\n
\t}\n
\n
\tpublic function hicpo_get_options_objects() {\n
\t\t$hicpo_options = get_option( 'hicpo_options' ) ? get_option( 'hicpo_options' ) : [];\n
\t\t$objects = isset( $hicpo_options['objects'] ) && is_array( $hicpo_options['objects'] ) ? $hicpo_options['objects'] : [];\n
\t\treturn $objects;\n
\t}\n
\tpublic function hicpo_get_options_tags() {\n
\t\t$hicpo_options = get_option( 'hicpo_options' ) ? get_option( 'hicpo_options' ) : [];\n
\t\t$tags = isset( $hicpo_options['tags'] ) && is_array( $hicpo_options['tags'] ) ? $hicpo_options['tags'] : [];\n
\t\treturn $tags;\n
\t}\n
\n
\tpublic function hicpo_add_capabilities() {\n
\t\t$administrator = get_role( 'administrator' );\n
\t\tif ( $administrator ) {\n
\t\t\t$administrator->add_cap( 'hicpo_hicpo_load_script_css' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order_tags' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order_sites' );\n
\t\t}\n
\n
\t\t$editor = get_role( 'editor' );\n
\t\tif ( $editor ) {\n
\t\t\t$editor->add_cap( 'hicpo_hicpo_load_script_css' );\n
\t\t\t$editor->add_cap( 'hicpo_update_menu_order' );\n
\t\t\t$editor->add_cap( 'hicpo_update_menu_order_tags' );\n
\t\t}\n
\t}\n
}\n
"""
"version_matches" => & array:2 [ …2]
"plugin_version" => & "3.1.5"
"hicpo" => & Hicpo {#8589}
"maxMemory" => & 134217728
"last" => & "m"
"wfCoreLoading" => & true
"wfCoreActive" => & true
"plugins" => & array:13 [ …13]
"wfVersion" => & "7.11.5"
"p" => & 0
"yoast_autoload_file" => & "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/plugins/wordpress-seo/vendor/autoload.php"
"spl_autoload_exists" => & true
"filter_exists" => & true
"wpseo_register_capabilities" => & WPSEO_Register_Roles {#9077}
"polylang" => & PLL_Frontend {#9035}
"text_direction" => & "ltr"
"pass_allowed_html" => & array:6 [ …6]
"pass_allowed_protocols" => & array:19 [ …19]
"wp_cockneyreplace" => & null
"rsssl_front_end" => & rsssl_front_end {#9248}
"rsssl_mixed_content_fixer" => & rsssl_mixed_content_fixer {#9249}
"current_user" => & WP_User {#9259}
"wp_rest_auth_cookie" => & "malformed"
"user_login" => & ""
"userdata" => & null
"user_level" => & 0
"user_ID" => & 0
"user_email" => & ""
"user_url" => & ""
"user_identity" => & ""
"phpmailer" => & MailCatcher {#9271}
"wp_meta_keys" => & array:1 [ …1]
"wpseo_sitemaps" => & WPSEO_Sitemaps {#9346}
"wp_the_query" => & WP_Query {#9370}
"wp_query" => & WP_Query {#9370}
"wp_widget_factory" => & WP_Widget_Factory {#9382}
"wp_user_roles" => & null
"wp_roles" => & WP_Roles {#9383}
"weekday" => & array:7 [ …7]
"weekday_initial" => & array:7 [ …7]
"weekday_abbrev" => & array:7 [ …7]
"month" => & array:12 [ …12]
"month_abbrev" => & array:12 [ …12]
"wp_locale" => & WP_Locale {#9066}
"wp_locale_switcher" => & WP_Locale_Switcher {#9065}
"__composer_autoload_files" => & array:9 [ …9]
"_wp_registered_nav_menus" => & array:2 [ …2]
"sidebars_widgets" => & array:2 [ …2]
"wp_customize" => & null
"wp_scripts" => & WP_Scripts {#9476}
"concatenate_scripts" => & false
"compress_scripts" => & false
"compress_css" => & false
"_SESSION" => &305 []
"wpsmiliestrans" => & array:43 [ …43]
"wp_smiliessearch" => & "/(?<=[\r\n\t ]|\xC2\xA0| |^);(?:\-\)|\))(?=[\r\n\t ]|\xC2\xA0| |$)|(?<=[\r\n\t ]|\xC2\xA0| |^)\:(?:\||x|wink\:|twisted\:|smile\:|shock\:|sad\:|roll\:|razz\:|oops\:|o|neutral\:|mrgreen\:|mad\:|lol\:|idea\:|grin\:|evil\:|eek\:|cry\:|cool\:|arrow\:|P|D|\?\?\?\:|\?\:|\?|\-\||\-x|\-o|\-P|\-D|\-\?|\-\)|\-\(|\)|\(|\!\:)(?=[\r\n\t ]|\xC2\xA0| |$)|(?<=[\r\n\t ]|\xC2\xA0| |^)8(?:O|\-O|\-\))(?=[\r\n\t ]|\xC2\xA0| |$)/m"
"typenow" => & null
"wp_header_to_desc" => & array:60 [ …60]
"wp_styles" => & WP_Styles {#10080}
"acf_updates" => & ACF_Updates {#10174}
"custom_image_header" => & null
"custom_background" => & null
"page" => & 0
"pagename" => & "tour"
"lang" => & "en"
"error" => & ""
"m" => & ""
"post_parent" => & ""
"subpost" => & ""
"subpost_id" => & ""
"attachment" => & ""
"attachment_id" => & 0
"name" => & "tour"
"page_id" => & 0
"second" => & ""
"minute" => & ""
"hour" => & ""
"day" => & 0
"monthnum" => & 0
"year" => & 0
"w" => & 0
"category_name" => & ""
"tag" => & ""
"cat" => & ""
"tag_id" => & ""
"author" => & ""
"author_name" => & ""
"feed" => & ""
"tb" => & ""
"paged" => & 0
"meta_key" => & ""
"meta_value" => & ""
"preview" => & ""
"s" => & ""
"sentence" => & ""
"title" => & ""
"fields" => & ""
"menu_order" => & ""
"embed" => & ""
"category__in" => & []
"category__not_in" => & []
"category__and" => & []
"post__in" => & []
"post__not_in" => & []
"post_name__in" => & []
"tag__in" => & []
"tag__not_in" => & []
"tag__and" => & []
"tag_slug__in" => & []
"tag_slug__and" => & []
"post_parent__in" => & []
"post_parent__not_in" => & []
"author__in" => & []
"author__not_in" => & []
"orderby" => & "menu_order"
"order" => & "ASC"
"ignore_sticky_posts" => & false
"suppress_filters" => & false
"cache_results" => & true
"update_post_term_cache" => & true
"lazy_load_term_meta" => & true
"update_post_meta_cache" => & true
"post_type" => & ""
"posts_per_page" => & 10
"nopaging" => & false
"comments_per_page" => & "50"
"no_found_rows" => & false
"query_string" => & "pagename=tour&lang=en"
"posts" => &380 array:1 [
0 => WP_Post {#10249}
]
"post" => & WP_Post {#10249}
"request" => & "SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = '702') AND wp_posts.post_type = 'page' ORDER BY wp_posts.menu_order ASC "
"more" => & 1
"single" => & 1
"template" => & "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/themes/lakeview/pages/tour.php"
"wp_admin_bar" => & null
"show_admin_bar" => & false
"wpseo_og" => & WPSEO_OpenGraph {#10251}
]
"wfPHPMinimumVersion" => "5.5.0"
"specifiedStorageEngine" => false
"fallbackStorageEngine" => false
"wfWAFStorageEngine" => wfWAFStorageFile {#1}
"rulesFiles" => array:1 [
0 => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/wflogs/rules.php"
]
"rulesFile" => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/wflogs/rules.php"
"wf_waf_failure" => null
"wfPHPDeprecatingVersion" => "7.0.0"
"wfOpenSSLDeprecatingVersion" => "1.0.1"
"wfOpenSSLMinimumVersion" => "1.0.1"
"wfWordPressDeprecatingVersion" => "4.7.0"
"wfWordPressMinimumVersion" => "3.9.0"
"HTTP_RAW_POST_DATA" => ""
"wp_did_header" => true
"table_prefix" => "wp_"
"wp_version" => "5.1.18"
"wp_db_version" => 44719
"tinymce_version" => "4920-20181217"
"required_php_version" => "5.2.4"
"required_mysql_version" => "5.0"
"wp_local_package" => null
"blog_id" => 1
"wp_filter" => array:1212 [
"query" => WP_Hook {#8263}
"pre_term_name" => WP_Hook {#8265}
"pre_comment_author_name" => WP_Hook {#8266}
"pre_link_name" => WP_Hook {#8267}
"pre_link_target" => WP_Hook {#8268}
"pre_link_rel" => WP_Hook {#8269}
"pre_user_display_name" => WP_Hook {#8270}
"pre_user_first_name" => WP_Hook {#8271}
"pre_user_last_name" => WP_Hook {#8272}
"pre_user_nickname" => WP_Hook {#8273}
"term_name" => WP_Hook {#8274}
"comment_author_name" => WP_Hook {#8275}
"link_name" => WP_Hook {#8276}
"link_target" => WP_Hook {#8277}
"link_rel" => WP_Hook {#8278}
"user_display_name" => WP_Hook {#8279}
"user_first_name" => WP_Hook {#8280}
"user_last_name" => WP_Hook {#8281}
"user_nickname" => WP_Hook {#8282}
"pre_term_description" => WP_Hook {#8283}
"pre_link_description" => WP_Hook {#8284}
"pre_link_notes" => WP_Hook {#8285}
"pre_user_description" => WP_Hook {#8286}
"pre_comment_author_email" => WP_Hook {#8287}
"pre_user_email" => WP_Hook {#8288}
"comment_author_email" => WP_Hook {#8289}
"user_email" => WP_Hook {#8290}
"pre_comment_author_url" => WP_Hook {#8291}
"pre_user_url" => WP_Hook {#8292}
"pre_link_url" => WP_Hook {#8293}
"pre_link_image" => WP_Hook {#8294}
"pre_link_rss" => WP_Hook {#8295}
"pre_post_guid" => WP_Hook {#8296}
"user_url" => WP_Hook {#8297}
"link_url" => WP_Hook {#8298}
"link_image" => WP_Hook {#8299}
"link_rss" => WP_Hook {#8300}
"comment_url" => WP_Hook {#8301}
"post_guid" => WP_Hook {#8302}
"pre_term_slug" => WP_Hook {#8303}
"wp_insert_post_data" => WP_Hook {#8304}
"pre_post_type" => WP_Hook {#8305}
"pre_post_status" => WP_Hook {#8306}
"pre_post_comment_status" => WP_Hook {#8307}
"pre_post_ping_status" => WP_Hook {#8308}
"pre_post_mime_type" => WP_Hook {#8309}
"post_mime_type" => WP_Hook {#8310}
"register_meta_args" => WP_Hook {#8311}
"added_post_meta" => WP_Hook {#8312}
"updated_post_meta" => WP_Hook {#8313}
"deleted_post_meta" => WP_Hook {#8314}
"added_term_meta" => WP_Hook {#8315}
"updated_term_meta" => WP_Hook {#8316}
"deleted_term_meta" => WP_Hook {#8317}
"get_term_metadata" => WP_Hook {#8318}
"add_term_metadata" => WP_Hook {#8319}
"update_term_metadata" => WP_Hook {#8320}
"delete_term_metadata" => WP_Hook {#8321}
"get_term_metadata_by_mid" => WP_Hook {#8322}
"update_term_metadata_by_mid" => WP_Hook {#8323}
"delete_term_metadata_by_mid" => WP_Hook {#8324}
"update_term_metadata_cache" => WP_Hook {#8325}
"added_comment_meta" => WP_Hook {#8326}
"updated_comment_meta" => WP_Hook {#8327}
"deleted_comment_meta" => WP_Hook {#8328}
"content_save_pre" => WP_Hook {#8329}
"excerpt_save_pre" => WP_Hook {#8330}
"comment_save_pre" => WP_Hook {#8331}
"pre_comment_content" => WP_Hook {#8332}
"init" => WP_Hook {#8333}
"comment_author" => WP_Hook {#8334}
"link_description" => WP_Hook {#8335}
"link_notes" => WP_Hook {#8336}
"bloginfo" => WP_Hook {#8337}
"wp_title" => WP_Hook {#8338}
"widget_title" => WP_Hook {#8339}
"the_content" => WP_Hook {#8340}
"the_title" => WP_Hook {#8341}
"comment_text" => WP_Hook {#8342}
"single_post_title" => WP_Hook {#8343}
"single_cat_title" => WP_Hook {#8344}
"single_tag_title" => WP_Hook {#8345}
"single_month_title" => WP_Hook {#8346}
"nav_menu_attr_title" => WP_Hook {#8347}
"nav_menu_description" => WP_Hook {#8348}
"term_description" => WP_Hook {#8349}
"get_the_post_type_description" => WP_Hook {#8350}
"term_name_rss" => WP_Hook {#8351}
"wp_insert_post_parent" => WP_Hook {#8352}
"wp_update_term_parent" => WP_Hook {#8353}
"the_excerpt" => WP_Hook {#8354}
"get_the_excerpt" => WP_Hook {#8355}
"the_post_thumbnail_caption" => WP_Hook {#8356}
"comment_excerpt" => WP_Hook {#8357}
"list_cats" => WP_Hook {#8358}
"wp_sprintf" => WP_Hook {#8359}
"widget_text" => WP_Hook {#8360}
"widget_text_content" => WP_Hook {#8361}
"date_i18n" => WP_Hook {#8362}
"the_title_rss" => WP_Hook {#8363}
"the_content_rss" => WP_Hook {#8364}
"the_content_feed" => WP_Hook {#8365}
"the_excerpt_rss" => WP_Hook {#8366}
"comment_author_rss" => WP_Hook {#8367}
"comment_text_rss" => WP_Hook {#8368}
"bloginfo_rss" => WP_Hook {#8369}
"the_author" => WP_Hook {#8370}
"the_guid" => WP_Hook {#8371}
"publish_post" => WP_Hook {#8373}
"publish_page" => WP_Hook {#8374}
"wp_ajax_save-widget" => WP_Hook {#8375}
"wp_ajax_widgets-order" => WP_Hook {#8376}
"customize_save_after" => WP_Hook {#8377}
"option_ping_sites" => WP_Hook {#8378}
"option_blog_charset" => WP_Hook {#8379}
"option_home" => WP_Hook {#8380}
"option_siteurl" => WP_Hook {#8381}
"tiny_mce_before_init" => WP_Hook {#8382}
"teeny_mce_before_init" => WP_Hook {#8383}
"pre_kses" => WP_Hook {#8384}
"sanitize_title" => WP_Hook {#8385}
"check_comment_flood" => WP_Hook {#8386}
"comment_flood_filter" => WP_Hook {#8387}
"comment_email" => WP_Hook {#8388}
"option_tag_base" => WP_Hook {#8389}
"option_category_base" => WP_Hook {#8390}
"the_posts" => WP_Hook {#8391}
"comments_open" => WP_Hook {#8392}
"pings_open" => WP_Hook {#8393}
"editable_slug" => WP_Hook {#8394}
"nav_menu_meta_box_object" => WP_Hook {#8395}
"pingback_ping_source_uri" => WP_Hook {#8396}
"xmlrpc_pingback_error" => WP_Hook {#8397}
"title_save_pre" => WP_Hook {#8398}
"transition_comment_status" => WP_Hook {#8399}
"http_request_host_is_external" => WP_Hook {#8400}
"xmlrpc_rsd_apis" => WP_Hook {#8401}
"wp_head" => WP_Hook {#8402}
"template_redirect" => WP_Hook {#8403}
"auth_cookie_malformed" => WP_Hook {#8404}
"auth_cookie_expired" => WP_Hook {#8405}
"auth_cookie_bad_username" => WP_Hook {#8406}
"auth_cookie_bad_hash" => WP_Hook {#8407}
"auth_cookie_valid" => WP_Hook {#8408}
"rest_authentication_errors" => WP_Hook {#8409}
"publish_future_post" => WP_Hook {#8410}
"wp_footer" => WP_Hook {#8411}
"wp_print_footer_scripts" => WP_Hook {#8412}
"after_switch_theme" => WP_Hook {#8413}
"login_head" => WP_Hook {#8415}
"login_footer" => WP_Hook {#8416}
"login_init" => WP_Hook {#8417}
"rss2_head" => WP_Hook {#8418}
"commentsrss2_head" => WP_Hook {#8419}
"rss_head" => WP_Hook {#8420}
"rdf_header" => WP_Hook {#8421}
"atom_head" => WP_Hook {#8422}
"comments_atom_head" => WP_Hook {#8423}
"opml_head" => WP_Hook {#8424}
"app_head" => WP_Hook {#8425}
"do_feed_rdf" => WP_Hook {#8426}
"do_feed_rss" => WP_Hook {#8427}
"do_feed_rss2" => WP_Hook {#8428}
"do_feed_atom" => WP_Hook {#8429}
"do_pings" => WP_Hook {#8430}
"do_robots" => WP_Hook {#8431}
"set_comment_cookies" => WP_Hook {#8432}
"sanitize_comment_cookies" => WP_Hook {#8433}
"admin_print_scripts" => WP_Hook {#8434}
"admin_print_footer_scripts" => WP_Hook {#8435}
"admin_print_styles" => WP_Hook {#8436}
"plugins_loaded" => WP_Hook {#8437}
"shutdown" => WP_Hook {#8438}
"post_updated" => WP_Hook {#8439}
"transition_post_status" => WP_Hook {#8440}
"comment_form" => WP_Hook {#8441}
"admin_init" => WP_Hook {#8442}
"welcome_panel" => WP_Hook {#8443}
"user_request_action_confirmed" => WP_Hook {#8444}
"wp_privacy_personal_data_exporters" => WP_Hook {#8445}
"wp_privacy_personal_data_erasers" => WP_Hook {#8446}
"wp_privacy_delete_old_export_files" => WP_Hook {#8447}
"wp_scheduled_delete" => WP_Hook {#8448}
"wp_scheduled_auto_draft_delete" => WP_Hook {#8449}
"importer_scheduled_cleanup" => WP_Hook {#8450}
"upgrader_scheduled_cleanup" => WP_Hook {#8451}
"delete_expired_transients" => WP_Hook {#8452}
"delete_post" => WP_Hook {#8453}
"delete_term" => WP_Hook {#8454}
"begin_fetch_post_thumbnail_html" => WP_Hook {#8455}
"end_fetch_post_thumbnail_html" => WP_Hook {#8456}
"attachment_updated" => WP_Hook {#8457}
"pre_option_gmt_offset" => WP_Hook {#8458}
"admin_color_scheme_picker" => WP_Hook {#8459}
"default_option_link_manager_enabled" => WP_Hook {#8460}
"pre_option_embed_autourls" => WP_Hook {#8461}
"heartbeat_settings" => WP_Hook {#8462}
"admin_enqueue_scripts" => WP_Hook {#8463}
"heartbeat_send" => WP_Hook {#8464}
"heartbeat_nopriv_send" => WP_Hook {#8465}
"authenticate" => WP_Hook {#8466}
"determine_current_user" => WP_Hook {#8467}
"split_shared_term" => WP_Hook {#8468}
"wp_split_shared_term_batch" => WP_Hook {#8469}
"comment_post" => WP_Hook {#8470}
"after_password_reset" => WP_Hook {#8471}
"register_new_user" => WP_Hook {#8472}
"edit_user_created_user" => WP_Hook {#8473}
"rest_api_init" => WP_Hook {#8474}
"parse_request" => WP_Hook {#8475}
"wp_loaded" => WP_Hook {#8476}
"delete_attachment" => WP_Hook {#8477}
"save_post" => WP_Hook {#8478}
"update_option_start_of_week" => WP_Hook {#8479}
"update_option_gmt_offset" => WP_Hook {#8480}
"admin_menu" => WP_Hook {#8481}
"before_delete_post" => WP_Hook {#8482}
"wp_trash_post" => WP_Hook {#8483}
"change_locale" => WP_Hook {#8484}
"request" => WP_Hook {#8485}
"term_link" => WP_Hook {#8486}
"get_post_format" => WP_Hook {#8487}
"get_terms" => WP_Hook {#8488}
"wp_get_object_terms" => WP_Hook {#8489}
"set_current_user" => WP_Hook {#8490}
"wp_default_scripts" => WP_Hook {#8491}
"wp_enqueue_scripts" => WP_Hook {#8492}
"enqueue_block_assets" => WP_Hook {#8493}
"enqueue_block_editor_assets" => WP_Hook {#8494}
"admin_print_scripts-index.php" => WP_Hook {#8495}
"wp_print_scripts" => WP_Hook {#8496}
"print_scripts_array" => WP_Hook {#8497}
"customize_controls_print_styles" => WP_Hook {#8498}
"wp_default_styles" => WP_Hook {#8499}
"style_loader_src" => WP_Hook {#8500}
"wp_playlist_scripts" => WP_Hook {#8501}
"customize_controls_enqueue_scripts" => WP_Hook {#8502}
"nav_menu_item_id" => WP_Hook {#8503}
"before_signup_header" => WP_Hook {#8504}
"activate_header" => WP_Hook {#8505}
"in_admin_header" => WP_Hook {#8506}
"media_buttons" => WP_Hook {#8507}
"image_send_to_editor" => WP_Hook {#8508}
"media_send_to_editor" => WP_Hook {#8509}
"rest_pre_serve_request" => WP_Hook {#8510}
"embed_head" => WP_Hook {#8511}
"embed_content_meta" => WP_Hook {#8512}
"embed_footer" => WP_Hook {#8513}
"excerpt_more" => WP_Hook {#8514}
"the_excerpt_embed" => WP_Hook {#8515}
"oembed_dataparse" => WP_Hook {#8516}
"oembed_response_data" => WP_Hook {#8517}
"pre_oembed_result" => WP_Hook {#8518}
"user_has_cap" => WP_Hook {#8519}
"wp_version_check" => WP_Hook {#8878}
"load-plugins.php" => WP_Hook {#8879}
"load-update.php" => WP_Hook {#8880}
"load-update-core.php" => WP_Hook {#8881}
"wp_update_plugins" => WP_Hook {#8882}
"load-themes.php" => WP_Hook {#8883}
"wp_update_themes" => WP_Hook {#8884}
"update_option_WPLANG" => WP_Hook {#8885}
"wp_maybe_auto_update" => WP_Hook {#8886}
"edit_form_advanced" => WP_Hook {#8891}
"edit_page_form" => WP_Hook {#8892}
"plugin_action_links" => WP_Hook {#8893}
"network_admin_plugin_action_links" => WP_Hook {#8894}
"plugin_row_meta" => WP_Hook {#8877}
"wp_ajax_add-category" => WP_Hook {#8873}
"wp_ajax_add-post_tag" => WP_Hook {#8869}
"wp_ajax_add-nav_menu" => WP_Hook {#8865}
"wp_ajax_add-link_category" => WP_Hook {#8861}
"wp_ajax_add-post_format" => WP_Hook {#8857}
"future_post" => WP_Hook {#8856}
"future_page" => WP_Hook {#8852}
"future_attachment" => WP_Hook {#8848}
"future_revision" => WP_Hook {#8844}
"future_nav_menu_item" => WP_Hook {#8840}
"future_custom_css" => WP_Hook {#8836}
"future_customize_changeset" => WP_Hook {#8832}
"future_oembed_cache" => WP_Hook {#8828}
"future_user_request" => WP_Hook {#8824}
"future_wp_block" => WP_Hook {#8820}
"activate_polylang/polylang.php" => WP_Hook {#8801}
"deactivate_polylang/polylang.php" => WP_Hook {#8800}
"wpmu_new_blog" => WP_Hook {#8799}
"pre_update_option_active_plugins" => WP_Hook {#8797}
"pre_update_option_active_sitewide_plugins" => WP_Hook {#8796}
"pll_language_defined" => WP_Hook {#8792}
"pll_no_language_defined" => WP_Hook {#8791}
"after_setup_theme" => WP_Hook {#8789}
"wp_import_terms" => WP_Hook {#8788}
"add_meta_boxes" => WP_Hook {#8787}
"pll_home_url_black_list" => WP_Hook {#8786}
"option_duplicate_post_taxonomies_blacklist" => WP_Hook {#8785}
"jetpack_widget_get_top_posts" => WP_Hook {#8783}
"grunion_contact_form_field_html" => WP_Hook {#8782}
"jetpack_open_graph_tags" => WP_Hook {#8781}
"jetpack_relatedposts_filter_filters" => WP_Hook {#8780}
"transient_featured_content_ids" => WP_Hook {#8778}
"pll_filter_query_excluded_query_vars" => WP_Hook {#8777}
"option_featured-content" => WP_Hook {#8776}
"wp_sweep_excluded_taxonomies" => WP_Hook {#8775}
"get_terms_args" => WP_Hook {#8774}
"switch_blog" => WP_Hook {#8772}
"acf/settings/uploader" => WP_Hook {#8771}
"acf/load_field" => WP_Hook {#8766}
"acf/validate_field" => WP_Hook {#8765}
"acf/translate_field" => WP_Hook {#8764}
"acf/clone_field" => WP_Hook {#8763}
"acf/prepare_field" => WP_Hook {#8762}
"acf/render_field" => WP_Hook {#8761}
"acf/update_field" => WP_Hook {#8760}
"wp_unique_post_slug" => WP_Hook {#8759}
"acf/delete_field" => WP_Hook {#8758}
"wp_untrash_post_status" => WP_Hook {#8757}
"acf/get_sub_field" => WP_Hook {#8756}
"acf/duplicate_field" => WP_Hook {#8755}
"acf/prepare_field_for_export" => WP_Hook {#8754}
"acf/prepare_field_for_import" => WP_Hook {#8753}
"acf/save_post" => WP_Hook {#8751}
"acf/load_value" => WP_Hook {#8749}
"acf/format_value" => WP_Hook {#8748}
"acf/update_value" => WP_Hook {#8747}
"acf/delete_value" => WP_Hook {#8746}
"acf/preview_value" => WP_Hook {#8745}
"acf/get_invalid_field_value" => WP_Hook {#8744}
"wp_kses_allowed_html" => WP_Hook {#8743}
"acf/validate_field/type=textarea" => WP_Hook {#8738}
"acf/validate_field/type=relationship" => WP_Hook {#8737}
"acf/validate_field/type=post_object" => WP_Hook {#8736}
"acf/validate_field/type=page_link" => WP_Hook {#8735}
"acf/validate_field/type=image" => WP_Hook {#8734}
"acf/validate_field/type=file" => WP_Hook {#8733}
"acf/validate_field/type=wysiwyg" => WP_Hook {#8732}
"acf/validate_field/type=date_picker" => WP_Hook {#8731}
"acf/validate_field/type=taxonomy" => WP_Hook {#8730}
"acf/validate_field/type=date_time_picker" => WP_Hook {#8729}
"acf/validate_field/type=user" => WP_Hook {#8728}
"acf/validate_field_group" => WP_Hook {#8727}
"acf/field_wrapper_attributes" => WP_Hook {#8726}
"acf/location/validate_rule/type=post_taxonomy" => WP_Hook {#8725}
"acf/location/validate_rule/type=post_category" => WP_Hook {#8724}
"acf/init" => WP_Hook {#8723}
"acf/settings/l10n_textdomain" => WP_Hook {#8722}
"acf/settings/l10n_field" => WP_Hook {#8721}
"acf/settings/l10n_field_group" => WP_Hook {#8720}
"acf/settings/url" => WP_Hook {#8719}
"acf/validate_post_id" => WP_Hook {#8718}
"acf/load_reference" => WP_Hook {#8717}
"acf/load_field_group" => WP_Hook {#8716}
"acf/load_field_groups" => WP_Hook {#8715}
"acf/load_fields" => WP_Hook {#8714}
"acf/get_valid_field" => WP_Hook {#8713}
"acf/get_cache_key" => WP_Hook {#8712}
"acf/load_post_types" => WP_Hook {#8706}
"acf/load_taxonomies" => WP_Hook {#8705}
"acf/is_field_key" => WP_Hook {#8704}
"acf/is_field_group_key" => WP_Hook {#8703}
"acf/is_post_type_key" => WP_Hook {#8702}
"acf/is_taxonomy_key" => WP_Hook {#8701}
"acf/include_fields" => WP_Hook {#8700}
"acf/update_field_group" => WP_Hook {#8698}
"acf/untrash_field_group" => WP_Hook {#8697}
"acf/trash_field_group" => WP_Hook {#8696}
"acf/delete_field_group" => WP_Hook {#8695}
"acf/update_post_type" => WP_Hook {#8694}
"acf/untrash_post_type" => WP_Hook {#8693}
"acf/trash_post_type" => WP_Hook {#8692}
"acf/delete_post_type" => WP_Hook {#8691}
"acf/update_taxonomy" => WP_Hook {#8690}
"acf/untrash/taxonomy" => WP_Hook {#8689}
"acf/trash_taxonomy" => WP_Hook {#8688}
"acf/delete_taxonomy" => WP_Hook {#8687}
"acf/include_post_types" => WP_Hook {#8686}
"acf/include_taxonomies" => WP_Hook {#8685}
"acf/enqueue_scripts" => WP_Hook {#8682}
"wp_handle_upload_prefilter" => WP_Hook {#8681}
"wp_ajax_query-attachments" => WP_Hook {#8680}
"wp_restore_post_revision" => WP_Hook {#8678}
"wp_save_post_revision_check_for_changes" => WP_Hook {#8677}
"_wp_post_revision_fields" => WP_Hook {#8676}
"wp_upgrade" => WP_Hook {#8675}
"wp_ajax_acf/validate_save_post" => WP_Hook {#8673}
"wp_ajax_nopriv_acf/validate_save_post" => WP_Hook {#8672}
"acf/validate_save_post" => WP_Hook {#8671}
"acf/rest/get_field_schema" => WP_Hook {#8670}
"acf/rest/get_field_links" => WP_Hook {#8669}
"acf/rest/format_value_for_rest" => WP_Hook {#8668}
"rest_pre_dispatch" => WP_Hook {#8666}
"acf/pre_update_field_group" => WP_Hook {#8662}
"wp_ajax_acf/ajax/check_screen" => WP_Hook {#8660}
"wp_ajax_acf/ajax/user_setting" => WP_Hook {#8658}
"wp_ajax_nopriv_acf/ajax/user_setting" => WP_Hook {#8657}
"wp_ajax_acf/ajax/upgrade" => WP_Hook {#8655}
"wp_ajax_acf/ajax/query_users" => WP_Hook {#8653}
"wp_ajax_nopriv_acf/ajax/query_users" => WP_Hook {#8652}
"wp_ajax_acf/ajax/local_json_diff" => WP_Hook {#8650}
"attachment_fields_to_edit" => WP_Hook {#8648}
"attachment_fields_to_save" => WP_Hook {#8647}
"comment_form_field_comment" => WP_Hook {#8645}
"edit_comment" => WP_Hook {#8644}
"customize_controls_init" => WP_Hook {#8642}
"customize_preview_init" => WP_Hook {#8641}
"customize_save" => WP_Hook {#8640}
"widget_update_callback" => WP_Hook {#8639}
"acf/pre_save_post" => WP_Hook {#8637}
"wp_update_nav_menu" => WP_Hook {#8635}
"wp_nav_menu_item_custom_fields" => WP_Hook {#8634}
"wp_get_nav_menu_items" => WP_Hook {#8633}
"wp_edit_nav_menu_walker" => WP_Hook {#8632}
"load-post.php" => WP_Hook {#8630}
"load-post-new.php" => WP_Hook {#8629}
"wp_insert_post_empty_content" => WP_Hook {#8628}
"create_term" => WP_Hook {#8625}
"edit_term" => WP_Hook {#8624}
"login_form_register" => WP_Hook {#8622}
"show_user_profile" => WP_Hook {#8621}
"edit_user_profile" => WP_Hook {#8620}
"user_new_form" => WP_Hook {#8619}
"register_form" => WP_Hook {#8618}
"user_register" => WP_Hook {#8617}
"profile_update" => WP_Hook {#8616}
"registration_errors" => WP_Hook {#8615}
"in_widget_form" => WP_Hook {#8613}
"block_type_metadata" => WP_Hook {#8609}
"block_type_metadata_settings" => WP_Hook {#8608}
"acf_block_render_template" => WP_Hook {#8607}
"wp_ajax_acf/ajax/fetch-block" => WP_Hook {#8606}
"rest_request_before_callbacks" => WP_Hook {#8605}
"rest_request_after_callbacks" => WP_Hook {#8604}
"acf/include_field_types" => WP_Hook {#8601}
"acf/include_location_rules" => WP_Hook {#8600}
"acf/input/admin_enqueue_scripts" => WP_Hook {#8599}
"acf/field_group/admin_enqueue_scripts" => WP_Hook {#8598}
"activated_plugin" => WP_Hook {#8597}
"pre_current_active_plugins" => WP_Hook {#8596}
"posts_where" => WP_Hook {#8595}
"activate_akismet/akismet.php" => WP_Hook {#8594}
"deactivate_akismet/akismet.php" => WP_Hook {#8593}
"widgets_init" => WP_Hook {#8592}
"admin_notices" => WP_Hook {#8591}
"wp_ajax_update-menu-order" => WP_Hook {#8588}
"wp_ajax_update-menu-order-tags" => WP_Hook {#8587}
"pre_get_posts" => WP_Hook {#8586}
"get_previous_post_where" => WP_Hook {#8585}
"get_previous_post_sort" => WP_Hook {#8584}
"get_next_post_where" => WP_Hook {#8583}
"get_next_post_sort" => WP_Hook {#8582}
"get_terms_orderby" => WP_Hook {#8581}
"qtranslate_language_detect_redirect" => WP_Hook {#8579}
"string_locator_search_sources_markup" => WP_Hook {#8577}
"string_locator_search_handler" => WP_Hook {#8576}
"string_locator_directory_iterator_short_circuit" => WP_Hook {#8575}
"string_locator_restore_search_row" => WP_Hook {#8574}
"string_locator_search_templates" => WP_Hook {#8573}
"string_locator_view" => WP_Hook {#8571}
"admin_body_class" => WP_Hook {#8570}
"string_locator_editor_fields" => WP_Hook {#8569}
"string_locator_save_params" => WP_Hook {#8567}
"string_locator_save_handler" => WP_Hook {#8566}
"string_locator_editor_checks" => WP_Hook {#8564}
"string_locator_pre_save" => WP_Hook {#8563}
"string_locator_pre_save_fail_notice" => WP_Hook {#8562}
"string_locator_search_results_tablenav_controls" => WP_Hook {#8560}
"string_locator_instawp_tablenav_controls" => WP_Hook {#8559}
"wp_ajax_install_activate_plugin" => WP_Hook {#8558}
"string_locator_post_save" => WP_Hook {#8555}
"string_locator_post_save_fail_notice" => WP_Hook {#8554}
"network_admin_menu" => WP_Hook {#8547}
"string_locator_editor_sidebar_before_checks" => WP_Hook {#8546}
"wp_ajax_vfbp-create-field" => WP_Hook {#8542}
"wp_ajax_vfbp-sort-field" => WP_Hook {#8541}
"wp_ajax_vfbp-delete-field" => WP_Hook {#8540}
"wp_ajax_vfbp-duplicate-field" => WP_Hook {#8539}
"wp_ajax_vfbp-rules-autocomplete" => WP_Hook {#8538}
"wp_ajax_vfbp-form-desinger-copy-settings" => WP_Hook {#8537}
"wp_ajax_vfbp-form-designer-copy-settings-save" => WP_Hook {#8536}
"wp_ajax_vfbp-connect-mailchimp" => WP_Hook {#8535}
"wp_ajax_vfbp-disconnect-mailchimp" => WP_Hook {#8534}
"wp_ajax_vfbp-connect-campaign-monitor" => WP_Hook {#8533}
"wp_ajax_vfbp-disconnect-campaign-monitor" => WP_Hook {#8532}
"wp_ajax_vfbp-campaign-monitor-select-client" => WP_Hook {#8531}
"wp_ajax_vfbp-connect-highrise" => WP_Hook {#8530}
"wp_ajax_vfbp-disconnect-highrise" => WP_Hook {#8529}
"wp_ajax_vfbp-connect-freshbooks" => WP_Hook {#8528}
"wp_ajax_vfbp-disconnect-freshbooks" => WP_Hook {#8527}
"wp_ajax_vfbp-price-fields" => WP_Hook {#8526}
"wp_ajax_vfbp-price-fields-options" => WP_Hook {#8525}
"admin_bar_menu" => WP_Hook {#8521}
"admin_head" => WP_Hook {#8895}
"wp_dashboard_setup" => WP_Hook {#8897}
"manage_vfb_entry_posts_columns" => WP_Hook {#8899}
"manage_edit-vfb_entry_sortable_columns" => WP_Hook {#8900}
"manage_posts_custom_column" => WP_Hook {#8901}
"post_row_actions" => WP_Hook {#8902}
"restrict_manage_posts" => WP_Hook {#8903}
"parse_query" => WP_Hook {#8904}
"posts_clauses" => WP_Hook {#8905}
"views_edit-vfb_entry" => WP_Hook {#8906}
"admin_footer" => WP_Hook {#8907}
"bulk_actions-edit-vfb_entry" => WP_Hook {#8908}
"wp_ajax_vfbp-entry-columns" => WP_Hook {#8909}
"hidden_columns" => WP_Hook {#8910}
"edit_form_top" => WP_Hook {#8911}
"wp_ajax_vfbp-export-fields" => WP_Hook {#8913}
"wp_ajax_vfbp-media-button" => WP_Hook {#8915}
"pre_set_site_transient_update_plugins" => WP_Hook {#8920}
"plugins_api" => WP_Hook {#8921}
"wp_ajax_vfbp-verify-license" => WP_Hook {#8922}
"wp_ajax_vfbp-deactivate-license" => WP_Hook {#8923}
"wp_ajax_nopriv_vfbp-verify-license" => WP_Hook {#8924}
"wp_ajax_nopriv_vfbp-deactivate-license" => WP_Hook {#8925}
"vfbp_after_disable_save_entry" => WP_Hook {#8928}
"activate_vfb-pro/vfb-pro.php" => WP_Hook {#8930}
"set-screen-option" => WP_Hook {#8932}
"robots_txt" => WP_Hook {#8933}
"activate_wordfence/modules/login-security/wordfence-login-security.php" => WP_Hook {#9198}
"deactivate_wordfence/modules/login-security/wordfence-login-security.php" => WP_Hook {#9199}
"login_enqueue_scripts" => WP_Hook {#9166}
"set_logged_in_cookie" => WP_Hook {#9165}
"wp_login" => WP_Hook {#9164}
"register_post" => WP_Hook {#9163}
"wp_login_errors" => WP_Hook {#9162}
"wordfence_ls_role_sync_cron" => WP_Hook {#9160}
"wp_ajax_nopriv_wordfence_ls_authenticate" => WP_Hook {#9149}
"wp_ajax_wordfence_ls_authenticate" => WP_Hook {#9148}
"wp_ajax_nopriv_wordfence_ls_register_support" => WP_Hook {#9147}
"wp_ajax_wordfence_ls_register_support" => WP_Hook {#9146}
"wp_ajax_wordfence_ls_activate" => WP_Hook {#9145}
"wp_ajax_wordfence_ls_deactivate" => WP_Hook {#9144}
"wp_ajax_wordfence_ls_regenerate" => WP_Hook {#9143}
"wp_ajax_wordfence_ls_save_options" => WP_Hook {#9142}
"wp_ajax_wordfence_ls_send_grace_period_notification" => WP_Hook {#9141}
"wp_ajax_wordfence_ls_update_ip_preview" => WP_Hook {#9140}
"wp_ajax_wordfence_ls_dismiss_notice" => WP_Hook {#9139}
"wp_ajax_wordfence_ls_reset_recaptcha_stats" => WP_Hook {#9138}
"wp_ajax_wordfence_ls_reset_2fa_grace_period" => WP_Hook {#9137}
"wp_ajax_wordfence_ls_revoke_2fa_grace_period" => WP_Hook {#9136}
"wp_ajax_wordfence_ls_reset_ntp_failure_count" => WP_Hook {#9135}
"wp_ajax_wordfence_ls_disable_ntp" => WP_Hook {#9134}
"wp_ajax_wordfence_ls_dismiss_persistent_notice" => WP_Hook {#9133}
"deleted_user" => WP_Hook {#9131}
"manage_users_columns" => WP_Hook {#9130}
"manage_users_custom_column" => WP_Hook {#9129}
"manage_users_sortable_columns" => WP_Hook {#9128}
"users_list_table_query_args" => WP_Hook {#9127}
"user_row_actions" => WP_Hook {#9126}
"views_users" => WP_Hook {#9125}
"wordfence_ls_ntp_cron" => WP_Hook {#9123}
"activate_wordfence/wordfence.php" => WP_Hook {#9122}
"deactivate_wordfence/wordfence.php" => WP_Hook {#9121}
"wp_mail_from" => WP_Hook {#9168}
"wp_ajax_nopriv_wordfence_lh" => WP_Hook {#9169}
"wp_ajax_nopriv_wordfence_doScan" => WP_Hook {#9170}
"wp_ajax_nopriv_wordfence_testAjax" => WP_Hook {#9171}
"wp_ajax_wordfence_wafStatus" => WP_Hook {#9172}
"wp_ajax_nopriv_wordfence_wafStatus" => WP_Hook {#9173}
"wp_ajax_nopriv_wordfence_remoteVerifySwitchTo2FANew" => WP_Hook {#9174}
"wordfence_start_scheduled_scan" => WP_Hook {#9175}
"wordfence_daily_cron" => WP_Hook {#9176}
"wordfence_daily_autoUpdate" => WP_Hook {#9177}
"wordfence_hourly_cron" => WP_Hook {#9178}
"wordfence_version_check" => WP_Hook {#9180}
"wp_authenticate" => WP_Hook {#9181}
"wp_authenticate_user" => WP_Hook {#9182}
"wp_logout" => WP_Hook {#9191}
"lostpassword_post" => WP_Hook {#9192}
"validate_password_reset" => WP_Hook {#9193}
"wordfence_email_activity_report" => WP_Hook {#9194}
"wp_redirect" => WP_Hook {#9195}
"wp_redirect_status" => WP_Hook {#9196}
"get_the_generator_html" => WP_Hook {#9118}
"get_the_generator_xhtml" => WP_Hook {#9117}
"get_the_generator_atom" => WP_Hook {#9116}
"get_the_generator_rss2" => WP_Hook {#9115}
"get_the_generator_rdf" => WP_Hook {#9114}
"get_the_generator_comment" => WP_Hook {#9113}
"get_the_generator_export" => WP_Hook {#9112}
"woocommerce_new_customer_data" => WP_Hook {#9111}
"rest_post_dispatch" => WP_Hook {#9110}
"wp_sitemaps_users_pre_url_list" => WP_Hook {#9109}
"wp_sitemaps_add_provider" => WP_Hook {#9108}
"wp_is_application_passwords_available" => WP_Hook {#9107}
"rest_dispatch_request" => WP_Hook {#9106}
"upgrader_process_complete" => WP_Hook {#9105}
"automatic_updates_complete" => WP_Hook {#9104}
"wordfence_refreshUpdateNotification" => WP_Hook {#9103}
"wordfence_completeCoreUpdateNotification" => WP_Hook {#9102}
"wfls_xml_rpc_blocked" => WP_Hook {#9101}
"wfls_registration_blocked" => WP_Hook {#9100}
"wfls_activation_page_footer" => WP_Hook {#9099}
"wfls_settings_set" => WP_Hook {#9098}
"password_reset" => WP_Hook {#9097}
"set_user_role" => WP_Hook {#9094}
"grant_super_admin" => WP_Hook {#9093}
"revoke_super_admin" => WP_Hook {#9092}
"wordfence_processAttackData" => WP_Hook {#9091}
"wordfence_batchReportBlockedAttempts" => WP_Hook {#9090}
"wordfence_batchReportFailedAttempts" => WP_Hook {#9089}
"wordfence_batchSendSecurityEvents" => WP_Hook {#9088}
"wordfence_security_event" => WP_Hook {#9087}
"cron_schedules" => WP_Hook {#9086}
"wf_scan_monitor" => WP_Hook {#9085}
"phpcompat_whitelist" => WP_Hook {#9082}
"activate_wordpress-seo/wp-seo.php" => WP_Hook {#9083}
"deactivate_wordpress-seo/wp-seo.php" => WP_Hook {#9081}
"activate_blog" => WP_Hook {#9080}
"wpseo_register_capabilities" => WP_Hook {#9078}
"wpseo_register_roles" => WP_Hook {#9076}
"activate_plugin" => WP_Hook {#9073}
"_admin_menu" => WP_Hook {#9072}
"pll_languages_list" => WP_Hook {#9070}
"wp_ajax_add-language" => WP_Hook {#9064}
"wp_ajax_add-post_translations" => WP_Hook {#9060}
"setup_theme" => WP_Hook {#9058}
"registered_post_type" => WP_Hook {#9059}
"wp_ajax_add-term_language" => WP_Hook {#9053}
"wp_ajax_add-term_translations" => WP_Hook {#9049}
"clean_term_cache" => WP_Hook {#9047}
"edited_term_taxonomy" => WP_Hook {#9048}
"update_option_permalink_structure" => WP_Hook {#9045}
"update_option_siteurl" => WP_Hook {#9044}
"update_option_home" => WP_Hook {#9043}
"language_description" => WP_Hook {#9042}
"pll_after_languages_cache" => WP_Hook {#9040}
"allowed_redirect_hosts" => WP_Hook {#9039}
"pll_init" => WP_Hook {#9038}
"parse_tax_query" => WP_Hook {#9034}
"wpml_active_languages" => WP_Hook {#9031}
"wpml_display_language_names" => WP_Hook {#9030}
"wpml_current_language" => WP_Hook {#9029}
"wpml_default_language" => WP_Hook {#9028}
"wpml_add_language_form_field" => WP_Hook {#9027}
"wpml_language_is_active" => WP_Hook {#9026}
"wpml_is_rtl" => WP_Hook {#9025}
"wpml_post_language_details" => WP_Hook {#9024}
"wpml_element_language_code" => WP_Hook {#9023}
"wpml_home_url" => WP_Hook {#9022}
"wpml_element_link" => WP_Hook {#9021}
"wpml_object_id" => WP_Hook {#9020}
"wpml_translate_single_string" => WP_Hook {#9019}
"wpml_permalink" => WP_Hook {#9018}
"wpml_get_translated_slug" => WP_Hook {#9017}
"wpml_element_has_translations" => WP_Hook {#9016}
"wpml_register_single_string" => WP_Hook {#9015}
"pll_get_strings" => WP_Hook {#9014}
"pll_copy_post_metas" => WP_Hook {#9011}
"pll_get_post_types" => WP_Hook {#9010}
"pll_get_taxonomies" => WP_Hook {#9009}
"option_wpseo_titles" => WP_Hook {#9005}
"pre_comment_on_post" => WP_Hook {#9003}
"wp" => WP_Hook {#9002}
"post_link" => WP_Hook {#9000}
"_get_page_link" => WP_Hook {#8999}
"post_type_link" => WP_Hook {#8998}
"attachment_link" => WP_Hook {#8997}
"post_type_archive_link" => WP_Hook {#8996}
"feed_link" => WP_Hook {#8994}
"author_link" => WP_Hook {#8993}
"search_link" => WP_Hook {#8992}
"year_link" => WP_Hook {#8991}
"month_link" => WP_Hook {#8990}
"day_link" => WP_Hook {#8989}
"home_url" => WP_Hook {#8988}
"parse_comment_query" => WP_Hook {#8986}
"comments_clauses" => WP_Hook {#8985}
"get_pages" => WP_Hook {#8984}
"get_previous_post_join" => WP_Hook {#8983}
"get_next_post_join" => WP_Hook {#8982}
"language_attributes" => WP_Hook {#8981}
"map_meta_cap" => WP_Hook {#8980}
"password_change_email" => WP_Hook {#8979}
"email_change_email" => WP_Hook {#8978}
"option_wp_page_for_privacy_policy" => WP_Hook {#8977}
"locale" => WP_Hook {#8975}
"option_sticky_posts" => WP_Hook {#8974}
"getarchives_join" => WP_Hook {#8973}
"getarchives_where" => WP_Hook {#8972}
"widget_display_callback" => WP_Hook {#8971}
"sidebars_widgets" => WP_Hook {#8970}
"option_blogname" => WP_Hook {#8969}
"option_blogdescription" => WP_Hook {#8968}
"option_date_format" => WP_Hook {#8967}
"option_time_format" => WP_Hook {#8966}
"get_user_metadata" => WP_Hook {#8965}
"get_search_form" => WP_Hook {#8963}
"add_admin_bar_menus" => WP_Hook {#8962}
"set_object_terms" => WP_Hook {#8960}
"terms_clauses" => WP_Hook {#8958}
"posts_selection" => WP_Hook {#8957}
"pre_delete_term" => WP_Hook {#8956}
"pll_save_term" => WP_Hook {#8953}
"update_post_metadata" => WP_Hook {#8951}
"update_post_meta" => WP_Hook {#8950}
"delete_post_meta" => WP_Hook {#8949}
"pll_save_post" => WP_Hook {#8948}
"pll_translate_post_meta" => WP_Hook {#8947}
"update_term_meta" => WP_Hook {#8945}
"delete_term_meta" => WP_Hook {#8944}
"created_term" => WP_Hook {#8943}
"edited_term" => WP_Hook {#8942}
"pll_duplicate_term" => WP_Hook {#8941}
"pre_update_option_sticky_posts" => WP_Hook {#8940}
"future_polylang_mo" => WP_Hook {#8795}
"pll_add_language" => WP_Hook {#8937}
"wpseo_posts_join" => WP_Hook {#9232}
"wpseo_posts_where" => WP_Hook {#9233}
"wpseo_typecount_join" => WP_Hook {#9234}
"wpseo_typecount_where" => WP_Hook {#9235}
"wpseo_sitemap_post_content" => WP_Hook {#9236}
"pll_home_url_white_list" => WP_Hook {#9237}
"wpseo_opengraph" => WP_Hook {#9238}
"wpseo_canonical" => WP_Hook {#9239}
"customize_register" => WP_Hook {#9241}
"wp_nav_menu_objects" => WP_Hook {#9242}
"nav_menu_link_attributes" => WP_Hook {#9243}
"theme_mod_nav_menu_locations" => WP_Hook {#9244}
"wp_nav_menu_args" => WP_Hook {#9245}
"pre_option_rewrite_rules" => WP_Hook {#9246}
"send_headers" => WP_Hook {#8938}
"redirection_visit" => WP_Hook {#9252}
"redirection_do_nothing" => WP_Hook {#9253}
"redirect_canonical" => WP_Hook {#9254}
"redirection_log_delete" => WP_Hook {#9255}
"redirection_url_target" => WP_Hook {#9256}
"redirection_request_ip" => WP_Hook {#9257}
"content_filtered_save_pre" => WP_Hook {#9261}
"all_admin_notices" => WP_Hook {#9265}
"wp_ajax_yoast_get_notifications" => WP_Hook {#9266}
"wpseo_deactivate" => WP_Hook {#9267}
"phpmailer_init" => WP_Hook {#9269}
"wp_mail_from_name" => WP_Hook {#9270}
"icl_wpml_config_array" => WP_Hook {#9272}
"option_wpseo" => WP_Hook {#9279}
"default_option_wpseo" => WP_Hook {#9281}
"add_option" => WP_Hook {#9282}
"update_option" => WP_Hook {#9283}
"sanitize_option_wpseo" => WP_Hook {#9284}
"update_option_wpseo" => WP_Hook {#9285}
"add_option_wpseo" => WP_Hook {#9286}
"default_option_wpseo_titles" => WP_Hook {#9288}
"sanitize_option_wpseo_titles" => WP_Hook {#9289}
"update_option_wpseo_titles" => WP_Hook {#9290}
"unregistered_post_type" => WP_Hook {#9291}
"registered_taxonomy" => WP_Hook {#9292}
"unregistered_taxonomy" => WP_Hook {#9293}
"default_option_wpseo_social" => WP_Hook {#9295}
"option_wpseo_social" => WP_Hook {#9296}
"sanitize_option_wpseo_social" => WP_Hook {#9297}
"update_option_wpseo_social" => WP_Hook {#9298}
"default_option_wpseo_taxonomy_meta" => WP_Hook {#9301}
"option_wpseo_taxonomy_meta" => WP_Hook {#9302}
"sanitize_option_wpseo_taxonomy_meta" => WP_Hook {#9303}
"update_option_wpseo_taxonomy_meta" => WP_Hook {#9304}
"add_option_wpseo_taxonomy_meta" => WP_Hook {#9305}
"sanitize_post_meta__yoast_wpseo_focuskw" => WP_Hook {#9306}
"auth_post_meta__yoast_wpseo_focuskw" => WP_Hook {#9277}
"sanitize_post_meta__yoast_wpseo_title" => WP_Hook {#9307}
"auth_post_meta__yoast_wpseo_title" => WP_Hook {#9308}
"sanitize_post_meta__yoast_wpseo_metadesc" => WP_Hook {#9309}
"auth_post_meta__yoast_wpseo_metadesc" => WP_Hook {#9310}
"sanitize_post_meta__yoast_wpseo_linkdex" => WP_Hook {#9311}
"auth_post_meta__yoast_wpseo_linkdex" => WP_Hook {#9312}
"sanitize_post_meta__yoast_wpseo_content_score" => WP_Hook {#9313}
"auth_post_meta__yoast_wpseo_content_score" => WP_Hook {#9314}
"sanitize_post_meta__yoast_wpseo_is_cornerstone" => WP_Hook {#9315}
"auth_post_meta__yoast_wpseo_is_cornerstone" => WP_Hook {#9316}
"sanitize_post_meta__yoast_wpseo_meta-robots-noindex" => WP_Hook {#9317}
"auth_post_meta__yoast_wpseo_meta-robots-noindex" => WP_Hook {#9318}
"sanitize_post_meta__yoast_wpseo_meta-robots-nofollow" => WP_Hook {#9319}
"auth_post_meta__yoast_wpseo_meta-robots-nofollow" => WP_Hook {#9320}
"sanitize_post_meta__yoast_wpseo_meta-robots-adv" => WP_Hook {#9321}
"auth_post_meta__yoast_wpseo_meta-robots-adv" => WP_Hook {#9322}
"sanitize_post_meta__yoast_wpseo_bctitle" => WP_Hook {#9323}
"auth_post_meta__yoast_wpseo_bctitle" => WP_Hook {#9324}
"sanitize_post_meta__yoast_wpseo_canonical" => WP_Hook {#9325}
"auth_post_meta__yoast_wpseo_canonical" => WP_Hook {#9326}
"sanitize_post_meta__yoast_wpseo_redirect" => WP_Hook {#9327}
"auth_post_meta__yoast_wpseo_redirect" => WP_Hook {#9328}
"sanitize_post_meta__yoast_wpseo_opengraph-title" => WP_Hook {#9329}
"auth_post_meta__yoast_wpseo_opengraph-title" => WP_Hook {#9330}
"sanitize_post_meta__yoast_wpseo_opengraph-description" => WP_Hook {#9331}
"auth_post_meta__yoast_wpseo_opengraph-description" => WP_Hook {#9332}
"sanitize_post_meta__yoast_wpseo_opengraph-image" => WP_Hook {#9333}
"auth_post_meta__yoast_wpseo_opengraph-image" => WP_Hook {#9334}
"sanitize_post_meta__yoast_wpseo_opengraph-image-id" => WP_Hook {#9335}
"auth_post_meta__yoast_wpseo_opengraph-image-id" => WP_Hook {#9336}
"sanitize_post_meta__yoast_wpseo_twitter-title" => WP_Hook {#9337}
"auth_post_meta__yoast_wpseo_twitter-title" => WP_Hook {#9338}
"sanitize_post_meta__yoast_wpseo_twitter-description" => WP_Hook {#9339}
"auth_post_meta__yoast_wpseo_twitter-description" => WP_Hook {#9340}
"sanitize_post_meta__yoast_wpseo_twitter-image" => WP_Hook {#9341}
"auth_post_meta__yoast_wpseo_twitter-image" => WP_Hook {#9342}
"sanitize_post_meta__yoast_wpseo_twitter-image-id" => WP_Hook {#9343}
"auth_post_meta__yoast_wpseo_twitter-image-id" => WP_Hook {#9344}
"add_post_metadata" => WP_Hook {#9345}
"wpseo_hit_sitemap_index" => WP_Hook {#9347}
"wpseo_ping_search_engines" => WP_Hook {#9348}
"deleted_term_relationships" => WP_Hook {#9354}
"edited_terms" => WP_Hook {#9355}
"clean_object_term_cache" => WP_Hook {#9356}
"delete_user" => WP_Hook {#9357}
"delete_term_taxonomy" => WP_Hook {#9371}
"block_categories" => WP_Hook {#9372}
"wpseo_onpage_fetch" => WP_Hook {#9379}
"bbp_get_breadcrumb" => WP_Hook {#9378}
"wp_headers" => WP_Hook {#9408}
"login_headerurl" => WP_Hook {#9410}
"login_headertitle" => WP_Hook {#9412}
"admin_footer_text" => WP_Hook {#9413}
"show_admin_bar" => WP_Hook {#9414}
"nmc_js_initial_data" => WP_Hook {#9415}
"wp_ajax_nopriv_dummy_ajax" => WP_Hook {#9448}
"wp_ajax_dummy_ajax2" => WP_Hook {#9442}
"wp_ajax_nopriv_dummy_ajax2" => WP_Hook {#9438}
"body_class" => WP_Hook {#9439}
"set_language_permalink" => WP_Hook {#9435}
"upload_mimes" => WP_Hook {#9440}
"wpseo_breadcrumb_output" => WP_Hook {#9447}
"admin_print_scripts-widgets.php" => WP_Hook {#9473}
"admin_footer-widgets.php" => WP_Hook {#9474}
"display_media_states" => WP_Hook {#9475}
"admin_head-widgets.php" => WP_Hook {#9674}
"future_acf-taxonomy" => WP_Hook {#9678}
"acf/validate_taxonomy" => WP_Hook {#9680}
"future_acf-post-type" => WP_Hook {#9685}
"acf/validate_post_type" => WP_Hook {#9687}
"acf/validate_value/type=text" => WP_Hook {#9692}
"acf/validate_rest_value/type=text" => WP_Hook {#9693}
"acf/validate_field/type=text" => WP_Hook {#9694}
"acf/render_field/type=text" => WP_Hook {#9695}
"acf/render_field_settings/type=text" => WP_Hook {#9696}
"acf/input/admin_l10n" => WP_Hook {#9697}
"acf/field_group/render_field_settings_tab/validation/type=text" => WP_Hook {#9698}
"acf/field_group/render_field_settings_tab/presentation/type=text" => WP_Hook {#9699}
"acf/format_value/type=textarea" => WP_Hook {#9701}
"acf/validate_value/type=textarea" => WP_Hook {#9702}
"acf/validate_rest_value/type=textarea" => WP_Hook {#9703}
"acf/render_field/type=textarea" => WP_Hook {#9704}
"acf/render_field_settings/type=textarea" => WP_Hook {#9705}
"acf/field_group/render_field_settings_tab/validation/type=textarea" => WP_Hook {#9706}
"acf/field_group/render_field_settings_tab/presentation/type=textarea" => WP_Hook {#9707}
"acf/update_value/type=number" => WP_Hook {#9709}
"acf/validate_value/type=number" => WP_Hook {#9710}
"acf/validate_rest_value/type=number" => WP_Hook {#9711}
"acf/validate_field/type=number" => WP_Hook {#9712}
"acf/render_field/type=number" => WP_Hook {#9713}
"acf/render_field_settings/type=number" => WP_Hook {#9714}
"acf/field_group/render_field_settings_tab/validation/type=number" => WP_Hook {#9715}
"acf/field_group/render_field_settings_tab/presentation/type=number" => WP_Hook {#9716}
"acf/update_value/type=range" => WP_Hook {#9718}
"acf/validate_value/type=range" => WP_Hook {#9719}
"acf/validate_rest_value/type=range" => WP_Hook {#9720}
"acf/validate_field/type=range" => WP_Hook {#9721}
"acf/render_field/type=range" => WP_Hook {#9722}
"acf/render_field_settings/type=range" => WP_Hook {#9723}
"acf/field_group/render_field_settings_tab/validation/type=range" => WP_Hook {#9724}
"acf/field_group/render_field_settings_tab/presentation/type=range" => WP_Hook {#9725}
"acf/validate_value/type=email" => WP_Hook {#9727}
"acf/validate_rest_value/type=email" => WP_Hook {#9728}
"acf/validate_field/type=email" => WP_Hook {#9729}
"acf/render_field/type=email" => WP_Hook {#9730}
"acf/render_field_settings/type=email" => WP_Hook {#9731}
"acf/field_group/render_field_settings_tab/presentation/type=email" => WP_Hook {#9732}
"acf/validate_value/type=url" => WP_Hook {#9734}
"acf/validate_rest_value/type=url" => WP_Hook {#9735}
"acf/validate_field/type=url" => WP_Hook {#9736}
"acf/render_field/type=url" => WP_Hook {#9737}
"acf/render_field_settings/type=url" => WP_Hook {#9738}
"acf/field_group/render_field_settings_tab/presentation/type=url" => WP_Hook {#9739}
"acf/validate_rest_value/type=password" => WP_Hook {#9741}
"acf/validate_field/type=password" => WP_Hook {#9742}
"acf/render_field/type=password" => WP_Hook {#9743}
"acf/render_field_settings/type=password" => WP_Hook {#9744}
"acf/field_group/render_field_settings_tab/presentation/type=password" => WP_Hook {#9745}
"get_media_item_args" => WP_Hook {#9746}
"acf/update_value/type=image" => WP_Hook {#9748}
"acf/format_value/type=image" => WP_Hook {#9749}
"acf/validate_value/type=image" => WP_Hook {#9750}
"acf/validate_rest_value/type=image" => WP_Hook {#9751}
"acf/render_field/type=image" => WP_Hook {#9752}
"acf/render_field_settings/type=image" => WP_Hook {#9753}
"acf/field_group/render_field_settings_tab/validation/type=image" => WP_Hook {#9754}
"acf/field_group/render_field_settings_tab/presentation/type=image" => WP_Hook {#9755}
"acf/update_value/type=file" => WP_Hook {#9757}
"acf/format_value/type=file" => WP_Hook {#9758}
"acf/validate_value/type=file" => WP_Hook {#9759}
"acf/validate_rest_value/type=file" => WP_Hook {#9760}
"acf/render_field/type=file" => WP_Hook {#9761}
"acf/render_field_settings/type=file" => WP_Hook {#9762}
"acf/field_group/render_field_settings_tab/validation/type=file" => WP_Hook {#9763}
"acf_the_content" => WP_Hook {#9764}
"acf/enqueue_uploader" => WP_Hook {#9765}
"acf/format_value/type=wysiwyg" => WP_Hook {#9767}
"acf/validate_rest_value/type=wysiwyg" => WP_Hook {#9768}
"acf/render_field/type=wysiwyg" => WP_Hook {#9769}
"acf/render_field_settings/type=wysiwyg" => WP_Hook {#9770}
"acf/field_group/render_field_settings_tab/presentation/type=wysiwyg" => WP_Hook {#9771}
"wp_ajax_acf/fields/oembed/search" => WP_Hook {#9772}
"wp_ajax_nopriv_acf/fields/oembed/search" => WP_Hook {#9773}
"acf/format_value/type=oembed" => WP_Hook {#9775}
"acf/validate_rest_value/type=oembed" => WP_Hook {#9776}
"acf/validate_field/type=oembed" => WP_Hook {#9777}
"acf/render_field/type=oembed" => WP_Hook {#9778}
"acf/render_field_settings/type=oembed" => WP_Hook {#9779}
"acf/prepare_field/type=oembed" => WP_Hook {#9780}
"wp_ajax_acf/fields/select/query" => WP_Hook {#9781}
"wp_ajax_nopriv_acf/fields/select/query" => WP_Hook {#9782}
"acf/load_value/type=select" => WP_Hook {#9784}
"acf/update_value/type=select" => WP_Hook {#9785}
"acf/format_value/type=select" => WP_Hook {#9786}
"acf/validate_rest_value/type=select" => WP_Hook {#9787}
"acf/validate_field/type=select" => WP_Hook {#9788}
"acf/update_field/type=select" => WP_Hook {#9789}
"acf/render_field/type=select" => WP_Hook {#9790}
"acf/render_field_settings/type=select" => WP_Hook {#9791}
"acf/translate_field/type=select" => WP_Hook {#9792}
"acf/field_group/render_field_settings_tab/validation/type=select" => WP_Hook {#9793}
"acf/field_group/render_field_settings_tab/presentation/type=select" => WP_Hook {#9794}
"acf/update_value/type=checkbox" => WP_Hook {#9796}
"acf/format_value/type=checkbox" => WP_Hook {#9797}
"acf/validate_value/type=checkbox" => WP_Hook {#9798}
"acf/validate_rest_value/type=checkbox" => WP_Hook {#9799}
"acf/validate_field/type=checkbox" => WP_Hook {#9800}
"acf/update_field/type=checkbox" => WP_Hook {#9801}
"acf/render_field/type=checkbox" => WP_Hook {#9802}
"acf/render_field_settings/type=checkbox" => WP_Hook {#9803}
"acf/translate_field/type=checkbox" => WP_Hook {#9804}
"acf/field_group/render_field_settings_tab/validation/type=checkbox" => WP_Hook {#9805}
"acf/field_group/render_field_settings_tab/presentation/type=checkbox" => WP_Hook {#9806}
"acf/load_value/type=radio" => WP_Hook {#9808}
"acf/update_value/type=radio" => WP_Hook {#9809}
"acf/format_value/type=radio" => WP_Hook {#9810}
"acf/validate_rest_value/type=radio" => WP_Hook {#9811}
"acf/validate_field/type=radio" => WP_Hook {#9812}
"acf/update_field/type=radio" => WP_Hook {#9813}
"acf/render_field/type=radio" => WP_Hook {#9814}
"acf/render_field_settings/type=radio" => WP_Hook {#9815}
"acf/translate_field/type=radio" => WP_Hook {#9816}
"acf/field_group/render_field_settings_tab/validation/type=radio" => WP_Hook {#9817}
"acf/field_group/render_field_settings_tab/presentation/type=radio" => WP_Hook {#9818}
"acf/load_value/type=button_group" => WP_Hook {#9820}
"acf/format_value/type=button_group" => WP_Hook {#9821}
"acf/validate_rest_value/type=button_group" => WP_Hook {#9822}
"acf/validate_field/type=button_group" => WP_Hook {#9823}
"acf/update_field/type=button_group" => WP_Hook {#9824}
"acf/render_field/type=button_group" => WP_Hook {#9825}
"acf/render_field_settings/type=button_group" => WP_Hook {#9826}
"acf/translate_field/type=button_group" => WP_Hook {#9827}
"acf/field_group/render_field_settings_tab/validation/type=button_group" => WP_Hook {#9828}
"acf/field_group/render_field_settings_tab/presentation/type=button_group" => WP_Hook {#9829}
"acf/format_value/type=true_false" => WP_Hook {#9831}
"acf/validate_value/type=true_false" => WP_Hook {#9832}
"acf/validate_rest_value/type=true_false" => WP_Hook {#9833}
"acf/validate_field/type=true_false" => WP_Hook {#9834}
"acf/render_field/type=true_false" => WP_Hook {#9835}
"acf/render_field_settings/type=true_false" => WP_Hook {#9836}
"acf/translate_field/type=true_false" => WP_Hook {#9837}
"acf/field_group/render_field_settings_tab/presentation/type=true_false" => WP_Hook {#9838}
"acf/update_value/type=link" => WP_Hook {#9840}
"acf/format_value/type=link" => WP_Hook {#9841}
"acf/validate_value/type=link" => WP_Hook {#9842}
"acf/validate_rest_value/type=link" => WP_Hook {#9843}
"acf/validate_field/type=link" => WP_Hook {#9844}
"acf/render_field/type=link" => WP_Hook {#9845}
"acf/render_field_settings/type=link" => WP_Hook {#9846}
"wp_ajax_acf/fields/post_object/query" => WP_Hook {#9847}
"wp_ajax_nopriv_acf/fields/post_object/query" => WP_Hook {#9848}
"acf/load_value/type=post_object" => WP_Hook {#9850}
"acf/update_value/type=post_object" => WP_Hook {#9851}
"acf/format_value/type=post_object" => WP_Hook {#9852}
"acf/validate_rest_value/type=post_object" => WP_Hook {#9853}
"acf/render_field/type=post_object" => WP_Hook {#9854}
"acf/render_field_settings/type=post_object" => WP_Hook {#9855}
"acf/field_group/render_field_settings_tab/validation/type=post_object" => WP_Hook {#9856}
"wp_ajax_acf/fields/page_link/query" => WP_Hook {#9857}
"wp_ajax_nopriv_acf/fields/page_link/query" => WP_Hook {#9858}
"acf/update_value/type=page_link" => WP_Hook {#9860}
"acf/format_value/type=page_link" => WP_Hook {#9861}
"acf/validate_rest_value/type=page_link" => WP_Hook {#9862}
"acf/render_field/type=page_link" => WP_Hook {#9863}
"acf/render_field_settings/type=page_link" => WP_Hook {#9864}
"acf/field_group/render_field_settings_tab/validation/type=page_link" => WP_Hook {#9865}
"wp_ajax_acf/fields/relationship/query" => WP_Hook {#9866}
"wp_ajax_nopriv_acf/fields/relationship/query" => WP_Hook {#9867}
"acf/update_value/type=relationship" => WP_Hook {#9869}
"acf/format_value/type=relationship" => WP_Hook {#9870}
"acf/validate_value/type=relationship" => WP_Hook {#9871}
"acf/validate_rest_value/type=relationship" => WP_Hook {#9872}
"acf/render_field/type=relationship" => WP_Hook {#9873}
"acf/render_field_settings/type=relationship" => WP_Hook {#9874}
"acf/field_group/render_field_settings_tab/validation/type=relationship" => WP_Hook {#9875}
"acf/field_group/render_field_settings_tab/presentation/type=relationship" => WP_Hook {#9876}
"acf/fields/taxonomy/query" => WP_Hook {#9877}
"acf/fields/taxonomy/result" => WP_Hook {#9878}
"wp_ajax_acf/fields/taxonomy/query" => WP_Hook {#9879}
"wp_ajax_nopriv_acf/fields/taxonomy/query" => WP_Hook {#9880}
"wp_ajax_acf/fields/taxonomy/add_term" => WP_Hook {#9881}
"acf/load_value/type=taxonomy" => WP_Hook {#9883}
"acf/update_value/type=taxonomy" => WP_Hook {#9884}
"acf/format_value/type=taxonomy" => WP_Hook {#9885}
"acf/validate_rest_value/type=taxonomy" => WP_Hook {#9886}
"acf/render_field/type=taxonomy" => WP_Hook {#9887}
"acf/render_field_settings/type=taxonomy" => WP_Hook {#9888}
"acf/fields/user/query" => WP_Hook {#9889}
"acf/fields/user/result" => WP_Hook {#9890}
"acf/fields/user/search_columns" => WP_Hook {#9891}
"wp_ajax_acf/fields/user/query" => WP_Hook {#9892}
"wp_ajax_nopriv_acf/fields/user/query" => WP_Hook {#9893}
"acf/load_value/type=user" => WP_Hook {#9895}
"acf/update_value/type=user" => WP_Hook {#9896}
"acf/format_value/type=user" => WP_Hook {#9897}
"acf/validate_rest_value/type=user" => WP_Hook {#9898}
"acf/render_field/type=user" => WP_Hook {#9899}
"acf/render_field_settings/type=user" => WP_Hook {#9900}
"acf/field_group/render_field_settings_tab/validation/type=user" => WP_Hook {#9901}
"acf/load_value/type=google_map" => WP_Hook {#9903}
"acf/update_value/type=google_map" => WP_Hook {#9904}
"acf/validate_rest_value/type=google_map" => WP_Hook {#9905}
"acf/validate_field/type=google_map" => WP_Hook {#9906}
"acf/render_field/type=google_map" => WP_Hook {#9907}
"acf/render_field_settings/type=google_map" => WP_Hook {#9908}
"acf/format_value/type=date_picker" => WP_Hook {#9910}
"acf/validate_rest_value/type=date_picker" => WP_Hook {#9911}
"acf/load_field/type=date_picker" => WP_Hook {#9912}
"acf/render_field/type=date_picker" => WP_Hook {#9913}
"acf/render_field_settings/type=date_picker" => WP_Hook {#9914}
"acf/format_value/type=date_time_picker" => WP_Hook {#9916}
"acf/validate_rest_value/type=date_time_picker" => WP_Hook {#9917}
"acf/load_field/type=date_time_picker" => WP_Hook {#9918}
"acf/render_field/type=date_time_picker" => WP_Hook {#9919}
"acf/render_field_settings/type=date_time_picker" => WP_Hook {#9920}
"acf/format_value/type=time_picker" => WP_Hook {#9922}
"acf/validate_rest_value/type=time_picker" => WP_Hook {#9923}
"acf/validate_field/type=time_picker" => WP_Hook {#9924}
"acf/load_field/type=time_picker" => WP_Hook {#9925}
"acf/render_field/type=time_picker" => WP_Hook {#9926}
"acf/render_field_settings/type=time_picker" => WP_Hook {#9927}
"acf/format_value/type=color_picker" => WP_Hook {#9929}
"acf/validate_rest_value/type=color_picker" => WP_Hook {#9930}
"acf/validate_field/type=color_picker" => WP_Hook {#9931}
"acf/render_field/type=color_picker" => WP_Hook {#9932}
"acf/render_field_settings/type=color_picker" => WP_Hook {#9933}
"acf/validate_rest_value/type=message" => WP_Hook {#9935}
"acf/validate_field/type=message" => WP_Hook {#9936}
"acf/load_field/type=message" => WP_Hook {#9937}
"acf/render_field/type=message" => WP_Hook {#9938}
"acf/render_field_settings/type=message" => WP_Hook {#9939}
"acf/translate_field/type=message" => WP_Hook {#9940}
"acf/validate_rest_value/type=accordion" => WP_Hook {#9942}
"acf/validate_field/type=accordion" => WP_Hook {#9943}
"acf/load_field/type=accordion" => WP_Hook {#9944}
"acf/render_field/type=accordion" => WP_Hook {#9945}
"acf/render_field_settings/type=accordion" => WP_Hook {#9946}
"acf/validate_rest_value/type=tab" => WP_Hook {#9948}
"acf/validate_field/type=tab" => WP_Hook {#9949}
"acf/load_field/type=tab" => WP_Hook {#9950}
"acf/render_field/type=tab" => WP_Hook {#9951}
"acf/render_field_settings/type=tab" => WP_Hook {#9952}
"acf/prepare_field_for_export/type=group" => WP_Hook {#9953}
"acf/prepare_field_for_import/type=group" => WP_Hook {#9954}
"acf/load_value/type=group" => WP_Hook {#9956}
"acf/update_value/type=group" => WP_Hook {#9957}
"acf/format_value/type=group" => WP_Hook {#9958}
"acf/validate_value/type=group" => WP_Hook {#9959}
"acf/delete_value/type=group" => WP_Hook {#9960}
"acf/validate_rest_value/type=group" => WP_Hook {#9961}
"acf/validate_field/type=group" => WP_Hook {#9962}
"acf/load_field/type=group" => WP_Hook {#9963}
"acf/duplicate_field/type=group" => WP_Hook {#9964}
"acf/delete_field/type=group" => WP_Hook {#9965}
"acf/render_field/type=group" => WP_Hook {#9966}
"acf/render_field_settings/type=group" => WP_Hook {#9967}
"acf/prepare_field_for_export/type=repeater" => WP_Hook {#9968}
"acf/prepare_field_for_import/type=repeater" => WP_Hook {#9969}
"acf/pre_render_fields" => WP_Hook {#9970}
"wp_ajax_acf/ajax/query_repeater" => WP_Hook {#9971}
"acf/load_value/type=repeater" => WP_Hook {#9973}
"acf/update_value/type=repeater" => WP_Hook {#9974}
"acf/format_value/type=repeater" => WP_Hook {#9975}
"acf/validate_value/type=repeater" => WP_Hook {#9976}
"acf/delete_value/type=repeater" => WP_Hook {#9977}
"acf/validate_rest_value/type=repeater" => WP_Hook {#9978}
"acf/validate_field/type=repeater" => WP_Hook {#9979}
"acf/load_field/type=repeater" => WP_Hook {#9980}
"acf/update_field/type=repeater" => WP_Hook {#9981}
"acf/duplicate_field/type=repeater" => WP_Hook {#9982}
"acf/delete_field/type=repeater" => WP_Hook {#9983}
"acf/render_field/type=repeater" => WP_Hook {#9984}
"acf/render_field_settings/type=repeater" => WP_Hook {#9985}
"acf/translate_field/type=repeater" => WP_Hook {#9986}
"acf/field_group/render_field_settings_tab/validation/type=repeater" => WP_Hook {#9987}
"acf/field_group/render_field_settings_tab/presentation/type=repeater" => WP_Hook {#9988}
"wp_ajax_acf/fields/flexible_content/layout_title" => WP_Hook {#9989}
"wp_ajax_nopriv_acf/fields/flexible_content/layout_title" => WP_Hook {#9990}
"acf/get_sub_field/type=flexible_content" => WP_Hook {#9991}
"acf/prepare_field_for_export/type=flexible_content" => WP_Hook {#9992}
"acf/prepare_field_for_import/type=flexible_content" => WP_Hook {#9993}
"acf/load_value/type=flexible_content" => WP_Hook {#9995}
"acf/update_value/type=flexible_content" => WP_Hook {#9996}
"acf/format_value/type=flexible_content" => WP_Hook {#9997}
"acf/validate_value/type=flexible_content" => WP_Hook {#9998}
"acf/delete_value/type=flexible_content" => WP_Hook {#9999}
"acf/validate_rest_value/type=flexible_content" => WP_Hook {#10000}
"acf/validate_field/type=flexible_content" => WP_Hook {#10001}
"acf/load_field/type=flexible_content" => WP_Hook {#10002}
"acf/update_field/type=flexible_content" => WP_Hook {#10003}
"acf/duplicate_field/type=flexible_content" => WP_Hook {#10004}
"acf/delete_field/type=flexible_content" => WP_Hook {#10005}
"acf/render_field/type=flexible_content" => WP_Hook {#10006}
"acf/render_field_settings/type=flexible_content" => WP_Hook {#10007}
"acf/translate_field/type=flexible_content" => WP_Hook {#10008}
"acf/field_group/render_field_settings_tab/presentation/type=flexible_content" => WP_Hook {#10009}
"wp_ajax_acf/fields/gallery/get_attachment" => WP_Hook {#10010}
"wp_ajax_nopriv_acf/fields/gallery/get_attachment" => WP_Hook {#10011}
"wp_ajax_acf/fields/gallery/update_attachment" => WP_Hook {#10012}
"wp_ajax_nopriv_acf/fields/gallery/update_attachment" => WP_Hook {#10013}
"wp_ajax_acf/fields/gallery/get_sort_order" => WP_Hook {#10014}
"wp_ajax_nopriv_acf/fields/gallery/get_sort_order" => WP_Hook {#10015}
"acf/update_value/type=gallery" => WP_Hook {#10017}
"acf/format_value/type=gallery" => WP_Hook {#10018}
"acf/validate_value/type=gallery" => WP_Hook {#10019}
"acf/validate_rest_value/type=gallery" => WP_Hook {#10020}
"acf/validate_field/type=gallery" => WP_Hook {#10021}
"acf/render_field/type=gallery" => WP_Hook {#10022}
"acf/render_field_settings/type=gallery" => WP_Hook {#10023}
"acf/field_group/render_field_settings_tab/validation/type=gallery" => WP_Hook {#10024}
"acf/field_group/render_field_settings_tab/presentation/type=gallery" => WP_Hook {#10025}
"wp_ajax_acf/fields/clone/query" => WP_Hook {#10026}
"acf/get_fields" => WP_Hook {#10027}
"acf/load_value/type=clone" => WP_Hook {#10029}
"acf/update_value/type=clone" => WP_Hook {#10030}
"acf/format_value/type=clone" => WP_Hook {#10031}
"acf/validate_value/type=clone" => WP_Hook {#10032}
"acf/validate_rest_value/type=clone" => WP_Hook {#10033}
"acf/validate_field/type=clone" => WP_Hook {#10034}
"acf/load_field/type=clone" => WP_Hook {#10035}
"acf/render_field/type=clone" => WP_Hook {#10036}
"acf/render_field_settings/type=clone" => WP_Hook {#10037}
"future_acf-field-group" => WP_Hook {#10063}
"future_acf-field" => WP_Hook {#10062}
"future_vfb_entry" => WP_Hook {#10066}
"wp_insert_comment" => WP_Hook {#10141}
"preprocess_comment" => WP_Hook {#10142}
"rest_pre_insert_comment" => WP_Hook {#10143}
"do_shortcode_tag" => WP_Hook {#10144}
"akismet_scheduled_delete" => WP_Hook {#10145}
"akismet_schedule_cron_recheck" => WP_Hook {#10146}
"script_loader_tag" => WP_Hook {#10147}
"comment_moderation_recipients" => WP_Hook {#10148}
"pre_comment_approved" => WP_Hook {#10149}
"xmlrpc_call" => WP_Hook {#10150}
"jetpack_options_whitelist" => WP_Hook {#10151}
"jetpack_contact_form_html" => WP_Hook {#10152}
"jetpack_contact_form_akismet_values" => WP_Hook {#10153}
"gform_get_form_filter" => WP_Hook {#10154}
"gform_akismet_fields" => WP_Hook {#10155}
"wpcf7_form_elements" => WP_Hook {#10156}
"wpcf7_akismet_parameters" => WP_Hook {#10157}
"frm_filter_final_form" => WP_Hook {#10158}
"frm_akismet_values" => WP_Hook {#10159}
"fluentform_form_element_start" => WP_Hook {#10160}
"fluentform_akismet_fields" => WP_Hook {#10161}
"update_option_wordpress_api_key" => WP_Hook {#10162}
"add_option_wordpress_api_key" => WP_Hook {#10163}
"comment_form_after" => WP_Hook {#10164}
"wpseo_head" => WP_Hook {#10166}
"pre_get_document_title" => WP_Hook {#10168}
"thematic_doctitle" => WP_Hook {#10169}
"loginout" => WP_Hook {#10170}
"register" => WP_Hook {#10171}
"category_description" => WP_Hook {#10172}
"woo_title" => WP_Hook {#10173}
"post_link_category" => WP_Hook {#10181}
"wpseo_json_ld" => WP_Hook {#10182}
"pre_handle_404" => WP_Hook {#10183}
"comment_reply_link" => WP_Hook {#10184}
"current_screen" => WP_Hook {#10185}
"future_blog" => WP_Hook {#10188}
"future_building" => WP_Hook {#10190}
"future_gallery" => WP_Hook {#10194}
"future_residence" => WP_Hook {#10198}
"future_slider" => WP_Hook {#10202}
"future_virtualtour" => WP_Hook {#10206}
"future_zone" => WP_Hook {#10210}
"wp_ajax_add-zone_category" => WP_Hook {#10217}
"language_rewrite_rules" => WP_Hook {#10186}
"date_rewrite_rules" => WP_Hook {#10226}
"root_rewrite_rules" => WP_Hook {#10228}
"comments_rewrite_rules" => WP_Hook {#10229}
"search_rewrite_rules" => WP_Hook {#10230}
"author_rewrite_rules" => WP_Hook {#10231}
"post_rewrite_rules" => WP_Hook {#10232}
"page_rewrite_rules" => WP_Hook {#10233}
"wp_block_rewrite_rules" => WP_Hook {#10234}
"blog_rewrite_rules" => WP_Hook {#10235}
"building_rewrite_rules" => WP_Hook {#10236}
"gallery_rewrite_rules" => WP_Hook {#10237}
"residence_rewrite_rules" => WP_Hook {#10238}
"slider_rewrite_rules" => WP_Hook {#10239}
"zone_rewrite_rules" => WP_Hook {#10240}
"category_rewrite_rules" => WP_Hook {#10241}
"post_tag_rewrite_rules" => WP_Hook {#10242}
"zone_category_rewrite_rules" => WP_Hook {#10243}
"post_format_rewrite_rules" => WP_Hook {#10244}
"rewrite_rules_array" => WP_Hook {#10245}
"pre_option_wpseo_internallinks" => WP_Hook {#9275}
"pre_option_wpseo_rss" => WP_Hook {#9276}
"pre_option_wpseo_xml" => WP_Hook {#10253}
"pre_option_wpseo_permalinks" => WP_Hook {#9278}
"jetpack_enable_open_graph" => WP_Hook {#10257}
]
"wpdb" => wpdb {#8261}
"locale" => "en_US"
"_ENV" => []
"_REQUEST" => []
"wp_actions" => array:61 [
"mu_plugin_loaded" => 1
"muplugins_loaded" => 1
"registered_taxonomy" => 16
"registered_post_type" => 33
"plugin_loaded" => 13
"plugins_loaded" => 1
"pll_pre_init" => 1
"pll_language_defined" => 1
"pll_translate_labels" => 1
"pll_init" => 1
"load_textdomain" => 23
"auth_cookie_malformed" => 1
"set_current_user" => 1
"sanitize_comment_cookies" => 1
"wp_roles_init" => 1
"setup_theme" => 1
"unload_textdomain" => 1
"after_setup_theme" => 1
"init" => 1
"registered_taxonomy_for_object_type" => 18
"widgets_init" => 1
"register_sidebar" => 1
"wp_register_sidebar_widget" => 20
"wp_default_scripts" => 1
"acf/include_field_types" => 1
"acf/registered_location_type" => 23
"acf/include_location_rules" => 1
"acf/include_fields" => 1
"acf/include_post_types" => 1
"acf/include_taxonomies" => 1
"acf/init" => 1
"parse_tax_query" => 4
"parse_query" => 3
"pre_get_posts" => 3
"posts_selection" => 3
"add_option" => 1
"add_option__transient_doing_cron" => 1
"added_option" => 1
"set_transient_doing_cron" => 1
"setted_transient" => 1
"requests-requests.before_request" => 1
"requests-curl.before_request" => 1
"http_api_curl" => 1
"requests-curl.before_send" => 1
"requests-curl.after_send" => 1
"requests-curl.after_request" => 1
"requests-requests.before_parse" => 1
"http_api_debug" => 1
"wp_default_styles" => 1
"acf/register_scripts" => 1
"redirection_first" => 1
"redirection_last" => 1
"wpseo_double_clean_titles" => 1
"wp_loaded" => 1
"parse_request" => 1
"send_headers" => 1
"parse_term_query" => 1
"pre_get_terms" => 1
"metadata_lazyloader_queued_objects" => 1
"wp" => 1
"template_redirect" => 1
]
"wp_current_filter" => []
"PHP_SELF" => "/index.php"
"timestart" => 1713623077.184
"_wp_using_ext_object_cache" => null
"wp_object_cache" => WP_Object_Cache {#8264}
"allowedposttags" => array:81 [
"address" => array:11 [ …11]
"a" => array:17 [ …17]
"abbr" => array:11 [ …11]
"acronym" => array:11 [ …11]
"area" => array:17 [ …17]
"article" => array:15 [ …15]
"aside" => array:15 [ …15]
"audio" => array:17 [ …17]
"b" => array:11 [ …11]
"bdo" => array:12 [ …12]
"big" => array:11 [ …11]
"blockquote" => array:14 [ …14]
"br" => array:11 [ …11]
"button" => array:15 [ …15]
"caption" => array:12 [ …12]
"cite" => array:13 [ …13]
"code" => array:11 [ …11]
"col" => array:18 [ …18]
"colgroup" => array:17 [ …17]
"del" => array:12 [ …12]
"dd" => array:11 [ …11]
"dfn" => array:11 [ …11]
"details" => array:16 [ …16]
"div" => array:15 [ …15]
"dl" => array:11 [ …11]
"dt" => array:11 [ …11]
"em" => array:11 [ …11]
"fieldset" => array:11 [ …11]
"figure" => array:15 [ …15]
"figcaption" => array:15 [ …15]
"font" => array:14 [ …14]
"footer" => array:15 [ …15]
"h1" => array:12 [ …12]
"h2" => array:12 [ …12]
"h3" => array:12 [ …12]
"h4" => array:12 [ …12]
"h5" => array:12 [ …12]
"h6" => array:12 [ …12]
"header" => array:15 [ …15]
"hgroup" => array:15 [ …15]
"hr" => array:15 [ …15]
"i" => array:11 [ …11]
"img" => array:21 [ …21]
"ins" => array:13 [ …13]
"kbd" => array:11 [ …11]
"label" => array:12 [ …12]
"legend" => array:12 [ …12]
"li" => array:13 [ …13]
"map" => array:12 [ …12]
"mark" => array:11 [ …11]
"menu" => array:12 [ …12]
"nav" => array:15 [ …15]
"p" => array:15 [ …15]
"pre" => array:12 [ …12]
"q" => array:12 [ …12]
"s" => array:11 [ …11]
"samp" => array:11 [ …11]
"span" => array:15 [ …15]
"section" => array:15 [ …15]
"small" => array:11 [ …11]
"strike" => array:11 [ …11]
"strong" => array:11 [ …11]
"sub" => array:11 [ …11]
"summary" => array:15 [ …15]
"sup" => array:11 [ …11]
"table" => array:20 [ …20]
"tbody" => array:15 [ …15]
"td" => array:26 [ …26]
"textarea" => array:16 [ …16]
"tfoot" => array:15 [ …15]
"th" => array:25 [ …25]
"thead" => array:15 [ …15]
"title" => array:11 [ …11]
"tr" => array:16 [ …16]
"track" => array:16 [ …16]
"tt" => array:11 [ …11]
"u" => array:11 [ …11]
"ul" => array:12 [ …12]
"ol" => array:14 [ …14]
"var" => array:11 [ …11]
"video" => array:20 [ …20]
]
"allowedtags" => array:14 [
"a" => array:2 [ …2]
"abbr" => array:1 [ …1]
"acronym" => array:1 [ …1]
"b" => []
"blockquote" => array:1 [ …1]
"cite" => []
"code" => []
"del" => array:1 [ …1]
"em" => []
"i" => []
"q" => array:1 [ …1]
"s" => []
"strike" => []
"strong" => []
]
"allowedentitynames" => array:253 [
0 => "nbsp"
1 => "iexcl"
2 => "cent"
3 => "pound"
4 => "curren"
5 => "yen"
6 => "brvbar"
7 => "sect"
8 => "uml"
9 => "copy"
10 => "ordf"
11 => "laquo"
12 => "not"
13 => "shy"
14 => "reg"
15 => "macr"
16 => "deg"
17 => "plusmn"
18 => "acute"
19 => "micro"
20 => "para"
21 => "middot"
22 => "cedil"
23 => "ordm"
24 => "raquo"
25 => "iquest"
26 => "Agrave"
27 => "Aacute"
28 => "Acirc"
29 => "Atilde"
30 => "Auml"
31 => "Aring"
32 => "AElig"
33 => "Ccedil"
34 => "Egrave"
35 => "Eacute"
36 => "Ecirc"
37 => "Euml"
38 => "Igrave"
39 => "Iacute"
40 => "Icirc"
41 => "Iuml"
42 => "ETH"
43 => "Ntilde"
44 => "Ograve"
45 => "Oacute"
46 => "Ocirc"
47 => "Otilde"
48 => "Ouml"
49 => "times"
50 => "Oslash"
51 => "Ugrave"
52 => "Uacute"
53 => "Ucirc"
54 => "Uuml"
55 => "Yacute"
56 => "THORN"
57 => "szlig"
58 => "agrave"
59 => "aacute"
60 => "acirc"
61 => "atilde"
62 => "auml"
63 => "aring"
64 => "aelig"
65 => "ccedil"
66 => "egrave"
67 => "eacute"
68 => "ecirc"
69 => "euml"
70 => "igrave"
71 => "iacute"
72 => "icirc"
73 => "iuml"
74 => "eth"
75 => "ntilde"
76 => "ograve"
77 => "oacute"
78 => "ocirc"
79 => "otilde"
80 => "ouml"
81 => "divide"
82 => "oslash"
83 => "ugrave"
84 => "uacute"
85 => "ucirc"
86 => "uuml"
87 => "yacute"
88 => "thorn"
89 => "yuml"
90 => "quot"
91 => "amp"
92 => "lt"
93 => "gt"
94 => "apos"
95 => "OElig"
96 => "oelig"
97 => "Scaron"
98 => "scaron"
99 => "Yuml"
100 => "circ"
101 => "tilde"
102 => "ensp"
103 => "emsp"
104 => "thinsp"
105 => "zwnj"
106 => "zwj"
107 => "lrm"
108 => "rlm"
109 => "ndash"
110 => "mdash"
111 => "lsquo"
112 => "rsquo"
113 => "sbquo"
114 => "ldquo"
115 => "rdquo"
116 => "bdquo"
117 => "dagger"
118 => "Dagger"
119 => "permil"
120 => "lsaquo"
121 => "rsaquo"
122 => "euro"
123 => "fnof"
124 => "Alpha"
125 => "Beta"
126 => "Gamma"
127 => "Delta"
128 => "Epsilon"
129 => "Zeta"
130 => "Eta"
131 => "Theta"
132 => "Iota"
133 => "Kappa"
134 => "Lambda"
135 => "Mu"
136 => "Nu"
137 => "Xi"
138 => "Omicron"
139 => "Pi"
140 => "Rho"
141 => "Sigma"
142 => "Tau"
143 => "Upsilon"
144 => "Phi"
145 => "Chi"
146 => "Psi"
147 => "Omega"
148 => "alpha"
149 => "beta"
150 => "gamma"
151 => "delta"
152 => "epsilon"
153 => "zeta"
154 => "eta"
155 => "theta"
156 => "iota"
157 => "kappa"
158 => "lambda"
159 => "mu"
160 => "nu"
161 => "xi"
162 => "omicron"
163 => "pi"
164 => "rho"
165 => "sigmaf"
166 => "sigma"
167 => "tau"
168 => "upsilon"
169 => "phi"
170 => "chi"
171 => "psi"
172 => "omega"
173 => "thetasym"
174 => "upsih"
175 => "piv"
176 => "bull"
177 => "hellip"
178 => "prime"
179 => "Prime"
180 => "oline"
181 => "frasl"
182 => "weierp"
183 => "image"
184 => "real"
185 => "trade"
186 => "alefsym"
187 => "larr"
188 => "uarr"
189 => "rarr"
190 => "darr"
191 => "harr"
192 => "crarr"
193 => "lArr"
194 => "uArr"
195 => "rArr"
196 => "dArr"
197 => "hArr"
198 => "forall"
199 => "part"
200 => "exist"
201 => "empty"
202 => "nabla"
203 => "isin"
204 => "notin"
205 => "ni"
206 => "prod"
207 => "sum"
208 => "minus"
209 => "lowast"
210 => "radic"
211 => "prop"
212 => "infin"
213 => "ang"
214 => "and"
215 => "or"
216 => "cap"
217 => "cup"
218 => "int"
219 => "sim"
220 => "cong"
221 => "asymp"
222 => "ne"
223 => "equiv"
224 => "le"
225 => "ge"
226 => "sub"
227 => "sup"
228 => "nsub"
229 => "sube"
230 => "supe"
231 => "oplus"
232 => "otimes"
233 => "perp"
234 => "sdot"
235 => "lceil"
236 => "rceil"
237 => "lfloor"
238 => "rfloor"
239 => "lang"
240 => "rang"
241 => "loz"
242 => "spades"
243 => "clubs"
244 => "hearts"
245 => "diams"
246 => "sup1"
247 => "sup2"
248 => "sup3"
249 => "frac14"
250 => "frac12"
251 => "frac34"
252 => "there4"
]
"shortcode_tags" => array:10 [
"wp_caption" => "img_caption_shortcode"
"caption" => "img_caption_shortcode"
"gallery" => "gallery_shortcode"
"playlist" => "wp_playlist_shortcode"
"audio" => "wp_audio_shortcode"
"video" => "wp_video_shortcode"
"embed" => "__return_false"
"acf" => "acf_shortcode"
"vfb" => array:2 [ …2]
"wpseo_breadcrumb" => "wpseo_shortcode_yoast_breadcrumb"
]
"wp_registered_sidebars" => array:1 [
"sidebar" => array:8 [ …8]
]
"wp_registered_widgets" => array:20 [
"pages-1" => array:7 [ …7]
"archives-2" => array:7 [ …7]
"media_audio-1" => array:8 [ …8]
"media_image-1" => array:8 [ …8]
"media_gallery-1" => array:8 [ …8]
"media_video-1" => array:8 [ …8]
"meta-2" => array:7 [ …7]
"search-2" => array:7 [ …7]
"text-1" => array:7 [ …7]
"categories-2" => array:7 [ …7]
"recent-posts-2" => array:7 [ …7]
"recent-comments-2" => array:7 [ …7]
"rss-1" => array:7 [ …7]
"tag_cloud-1" => array:7 [ …7]
"nav_menu-1" => array:7 [ …7]
"custom_html-1" => array:7 [ …7]
"akismet_widget-1" => array:7 [ …7]
"vfbp-widget-1" => array:7 [ …7]
"polylang-1" => array:7 [ …7]
"calendar-1" => array:7 [ …7]
]
"wp_registered_widget_controls" => array:20 [
"pages-1" => array:7 [ …7]
"archives-2" => array:7 [ …7]
"media_audio-1" => array:7 [ …7]
"media_image-1" => array:7 [ …7]
"media_gallery-1" => array:7 [ …7]
"media_video-1" => array:7 [ …7]
"meta-2" => array:7 [ …7]
"search-2" => array:7 [ …7]
"text-1" => array:7 [ …7]
"categories-2" => array:7 [ …7]
"recent-posts-2" => array:7 [ …7]
"recent-comments-2" => array:7 [ …7]
"rss-1" => array:7 [ …7]
"tag_cloud-1" => array:7 [ …7]
"nav_menu-1" => array:7 [ …7]
"custom_html-1" => array:7 [ …7]
"akismet_widget-1" => array:7 [ …7]
"vfbp-widget-1" => array:7 [ …7]
"polylang-1" => array:7 [ …7]
"calendar-1" => array:7 [ …7]
]
"wp_registered_widget_updates" => array:20 [
"pages" => array:3 [ …3]
"archives" => array:3 [ …3]
"media_audio" => array:3 [ …3]
"media_image" => array:3 [ …3]
"media_gallery" => array:3 [ …3]
"media_video" => array:3 [ …3]
"meta" => array:3 [ …3]
"search" => array:3 [ …3]
"text" => array:5 [ …5]
"categories" => array:3 [ …3]
"recent-posts" => array:3 [ …3]
"recent-comments" => array:3 [ …3]
"rss" => array:5 [ …5]
"tag_cloud" => array:3 [ …3]
"nav_menu" => array:3 [ …3]
"custom_html" => array:5 [ …5]
"akismet_widget" => array:3 [ …3]
"vfbp-widget" => array:3 [ …3]
"polylang" => array:3 [ …3]
"calendar" => array:3 [ …3]
]
"_wp_sidebars_widgets" => array:3 [
"wp_inactive_widgets" => []
"sidebar" => array:6 [ …6]
"array_version" => 3
]
"_wp_deprecated_widgets_callbacks" => array:22 [
0 => "wp_widget_pages"
1 => "wp_widget_pages_control"
2 => "wp_widget_calendar"
3 => "wp_widget_calendar_control"
4 => "wp_widget_archives"
5 => "wp_widget_archives_control"
6 => "wp_widget_links"
7 => "wp_widget_meta"
8 => "wp_widget_meta_control"
9 => "wp_widget_search"
10 => "wp_widget_recent_entries"
11 => "wp_widget_recent_entries_control"
12 => "wp_widget_tag_cloud"
13 => "wp_widget_tag_cloud_control"
14 => "wp_widget_categories"
15 => "wp_widget_categories_control"
16 => "wp_widget_text"
17 => "wp_widget_text_control"
18 => "wp_widget_rss"
19 => "wp_widget_rss_control"
20 => "wp_widget_recent_comments"
21 => "wp_widget_recent_comments_control"
]
"wp_embed" => WP_Embed {#8890}
"wp_plugin_paths" => []
"pagenow" => "index.php"
"is_lynx" => false
"is_gecko" => true
"is_winIE" => false
"is_macIE" => false
"is_opera" => false
"is_NS4" => false
"is_safari" => false
"is_chrome" => false
"is_iphone" => false
"is_IE" => false
"is_edge" => false
"is_apache" => false
"is_IIS" => false
"is_iis7" => false
"is_nginx" => true
"wp_rewrite" => WP_Rewrite {#9380}
"wp_taxonomies" => array:10 [
"category" => WP_Taxonomy {#8804}
"post_tag" => WP_Taxonomy {#8876}
"nav_menu" => WP_Taxonomy {#8871}
"link_category" => WP_Taxonomy {#8867}
"post_format" => WP_Taxonomy {#8863}
"language" => WP_Taxonomy {#9391}
"post_translations" => WP_Taxonomy {#9062}
"term_language" => WP_Taxonomy {#9055}
"term_translations" => WP_Taxonomy {#9051}
"zone_category" => WP_Taxonomy {#10215}
]
"l10n" => array:1 [
"pll_string" => PLL_MO {#8793}
]
"l10n_unloaded" => array:1 [
"pll_string" => true
]
"wp" => WP {#9381}
"_wp_theme_features" => array:8 [
"menus" => true
"title-tag" => true
"post-thumbnails" => true
"post-formats" => array:1 [ …1]
"custom-header" => array:1 [ …1]
"custom-logo" => array:1 [ …1]
"html5" => array:1 [ …1]
"widgets" => true
]
"wp_post_types" => array:23 [
"post" => WP_Post_Type {#9453}
"page" => WP_Post_Type {#8855}
"attachment" => WP_Post_Type {#8851}
"revision" => WP_Post_Type {#8847}
"nav_menu_item" => WP_Post_Type {#8843}
"custom_css" => WP_Post_Type {#8839}
"customize_changeset" => WP_Post_Type {#8835}
"oembed_cache" => WP_Post_Type {#8831}
"user_request" => WP_Post_Type {#8827}
"wp_block" => WP_Post_Type {#8823}
"polylang_mo" => WP_Post_Type {#8794}
"acf-taxonomy" => WP_Post_Type {#9677}
"acf-post-type" => WP_Post_Type {#9684}
"acf-field-group" => WP_Post_Type {#10060}
"acf-field" => WP_Post_Type {#10061}
"vfb_entry" => WP_Post_Type {#10067}
"blog" => WP_Post_Type {#10187}
"building" => WP_Post_Type {#10191}
"gallery" => WP_Post_Type {#10195}
"residence" => WP_Post_Type {#10199}
"slider" => WP_Post_Type {#10203}
"virtualtour" => WP_Post_Type {#10207}
"zone" => WP_Post_Type {#10211}
]
"post_type_meta_caps" => array:10 [
"edit_post" => "edit_post"
"read_post" => "read_post"
"delete_post" => "delete_post"
"edit_page" => "edit_post"
"read_page" => "read_post"
"delete_page" => "delete_post"
"customize" => "delete_post"
"edit_block" => "edit_post"
"read_block" => "read_post"
"delete_block" => "delete_post"
]
"_wp_post_type_features" => array:22 [
"post" => array:10 [ …10]
"page" => array:8 [ …8]
"attachment" => array:3 [ …3]
"attachment:audio" => array:1 [ …1]
"attachment:video" => array:1 [ …1]
"revision" => array:1 [ …1]
"nav_menu_item" => array:2 [ …2]
"custom_css" => array:2 [ …2]
"customize_changeset" => array:2 [ …2]
"oembed_cache" => array:2 [ …2]
"user_request" => array:2 [ …2]
"wp_block" => array:2 [ …2]
"polylang_mo" => array:2 [ …2]
"acf-field" => array:1 [ …1]
"vfb_entry" => array:1 [ …1]
"blog" => array:3 [ …3]
"building" => array:3 [ …3]
"gallery" => array:3 [ …3]
"residence" => array:3 [ …3]
"slider" => array:3 [ …3]
"virtualtour" => array:2 [ …2]
"zone" => array:3 [ …3]
]
"wp_post_statuses" => array:13 [
"publish" => {#8819}
"future" => {#8815}
"draft" => {#8816}
"pending" => {#8813}
"private" => {#8812}
"trash" => {#8811}
"auto-draft" => {#8810}
"inherit" => {#8809}
"request-pending" => {#8808}
"request-confirmed" => {#8807}
"request-failed" => {#8806}
"request-completed" => {#8805}
"acf-disabled" => {#9675}
]
"wp_theme_directories" => array:1 [
0 => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/themes"
]
"acf" => ACF {#8773}
"acf_stores" => array:18 [
"filters" => ACF_Data {#8770}
"hook-variations" => ACF_Data {#8769}
"deprecated-hooks" => ACF_Data {#8768}
"fields" => ACF_Data {#8767}
"form" => ACF_Data {#8752}
"values" => ACF_Data {#8750}
"location-types" => ACF_Data {#8741}
"local-fields" => ACF_Data {#8711}
"local-groups" => ACF_Data {#8710}
"local-empty" => ACF_Data {#8709}
"local-post-types" => ACF_Data {#8708}
"local-taxonomies" => ACF_Data {#8707}
"field-groups" => ACF_Data {#8664}
"internal-post-types" => ACF_Data {#8663}
"block-types" => ACF_Data {#8611}
"block-cache" => ACF_Data {#8610}
"taxonomies" => ACF_Data {#9681}
"post-types" => ACF_Data {#9688}
]
"acf_instances" => array:17 [
"ACF_Assets" => ACF_Assets {#8740}
"ACF_Compatibility" => ACF_Compatibility {#8739}
"ACF_Local_JSON" => ACF_Local_JSON {#8699}
"ACF_Media" => ACF_Media {#8683}
"ACF_Rest_Api" => ACF_Rest_Api {#8667}
"ACF_Field_Group" => ACF_Field_Group {#8665}
"ACF_Ajax_Check_Screen" => ACF_Ajax_Check_Screen {#8661}
"ACF_Ajax_User_Setting" => ACF_Ajax_User_Setting {#8659}
"ACF_Ajax_Upgrade" => ACF_Ajax_Upgrade {#8656}
"ACF_Ajax_Query_Users" => ACF_Ajax_Query_Users {#8654}
"ACF_Ajax_Local_JSON_Diff" => ACF_Ajax_Local_JSON_Diff {#8651}
"acf_form_nav_menu" => acf_form_nav_menu {#8636}
"ACF_Form_Post" => ACF_Form_Post {#8631}
"ACF_Form_Gutenberg" => ACF_Form_Gutenberg {#8627}
"ACF_Form_User" => ACF_Form_User {#8623}
"ACF_Taxonomy" => ACF_Taxonomy {#9676}
"ACF_Post_Type" => ACF_Post_Type {#9683}
]
"acf_uniqid" => 19
"acf_options_page" => acf_options_page {#8603}
"wpcom_api_key" => ""
"akismet_api_host" => ".rest.akismet.com"
"akismet_api_port" => 80
"plugin_file" => """
<?php\n
/*\n
* Plugin Name: Intuitive Custom Post Order\n
* Plugin URI: http://hijiriworld.com/web/plugins/intuitive-custom-post-order/\n
* Description: Intuitively, Order Items (Posts, Pages, ,Custom Post Types, Custom Taxonomies, Sites) using a Drag and Drop Sortable JavaScript.\n
* Version: 3.1.5\n
* Author: hijiri\n
* Author URI: http://hijiriworld.com/web/\n
* Text Domain: intuitive-custom-post-order\n
* Domain Path: /languages\n
* License: GPLv2 or later\n
* License URI: http://www.gnu.org/licenses/gpl-2.0.html\n
*/\n
\n
/**\n
* Define\n
*/\n
define( 'HICPO_URL', plugins_url( '', __FILE__ ) );\n
define( 'HICPO_DIR', plugin_dir_path( __FILE__ ) );\n
\n
$plugin_file = file_get_contents( __FILE__ );\n
preg_match( '/Version:\s*([^\s]+)/i', $plugin_file, $version_matches );\n
$plugin_version = $version_matches[1];\n
define( 'HICPO_VER', $plugin_version );\n
\n
/**\n
* Uninstall hook\n
*/\n
register_uninstall_hook( __FILE__, 'hicpo_uninstall' );\n
function hicpo_uninstall() {\n
\tglobal $wpdb;\n
\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t$blogids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );\n
\t\tforeach ( $blogids as $blog_id ) {\n
\t\t\tswitch_to_blog( $blog_id );\n
\t\t\thicpo_uninstall_db_terms();\n
\t\t}\n
\t\trestore_current_blog();\n
\t\thicpo_uninstall_db_blogs();\n
\t} else {\n
\t\thicpo_uninstall_db_terms();\n
\t}\n
\tdelete_option( 'hicpo_activation' ); // old version before than 3.1.0\n
\tdelete_option( 'hicpo_ver' );\n
}\n
\n
// drop term_order COLUMN to $wpdb->terms TABLE\n
function hicpo_uninstall_db_terms() {\n
\tglobal $wpdb;\n
\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t$result = $wpdb->query( "DESCRIBE $wpdb->terms `term_order`" );\n
\tif ( $result ) {\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t\t$result = $wpdb->query( "ALTER TABLE $wpdb->terms DROP `term_order`" );\n
\t}\n
}\n
\n
// drop menu_order COLUMN to $wpdb->blogs TABLE\n
function hicpo_uninstall_db_blogs() {\n
\tglobal $wpdb;\n
\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t$result = $wpdb->query( "DESCRIBE $wpdb->blogs `menu_order`" );\n
\tif ( $result ) {\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- its ok.\n
\t\t$result = $wpdb->query( "ALTER TABLE $wpdb->blogs DROP `menu_order`" );\n
\t}\n
}\n
\n
/**\n
* Class & Method\n
*/\n
\n
$hicpo = new Hicpo();\n
\n
class Hicpo {\n
\n
\t/**\n
\t * Construct\n
\t */\n
\tpublic function __construct() {\n
\t\t // activation\n
\t\t$hicpo_ver = get_option( 'hicpo_ver' );\n
\t\tif ( version_compare( $hicpo_ver, HICPO_VER ) < 0 ) {\n
\t\t\t$this->hicpo_activation();\n
\t\t}\n
\n
\t\t// textdomain\n
\t\tadd_action( 'plugins_loaded', [ $this, 'hicpo_load_plugin_textdomain' ] );\n
\n
\t\t// add menu\n
\t\tadd_action( 'admin_menu', [ $this, 'hicpo_admin_menu' ] );\n
\n
\t\t// admin init\n
\t\tif ( empty( $_GET ) ) {\n
\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_refresh' ] );\n
\t\t}\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_add_capabilities' ] );\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_update_options' ] );\n
\t\tadd_action( 'admin_init', [ $this, 'hicpo_load_script_css' ] );\n
\n
\t\t// sortable ajax action\n
\t\tadd_action( 'wp_ajax_update-menu-order', [ $this, 'hicpo_update_menu_order' ] );\n
\t\tadd_action( 'wp_ajax_update-menu-order-tags', [ $this, 'hicpo_update_menu_order_tags' ] );\n
\n
\t\t// reorder post types\n
\t\tadd_action( 'pre_get_posts', [ $this, 'hicpo_pre_get_posts' ] );\n
\n
\t\tadd_filter( 'get_previous_post_where', [ $this, 'hicpo_previous_post_where' ] );\n
\t\tadd_filter( 'get_previous_post_sort', [ $this, 'hicpo_previous_post_sort' ] );\n
\t\tadd_filter( 'get_next_post_where', [ $this, 'hicpo_next_post_where' ] );\n
\t\tadd_filter( 'get_next_post_sort', [ $this, 'hicpo_next_post_sort' ] );\n
\n
\t\t// reorder taxonomies\n
\t\tadd_filter( 'get_terms_orderby', [ $this, 'hicpo_get_terms_orderby' ], 10, 3 );\n
\t\tadd_filter( 'wp_get_object_terms', [ $this, 'hicpo_get_object_terms' ], 10, 3 );\n
\t\tadd_filter( 'get_terms', [ $this, 'hicpo_get_object_terms' ], 10, 3 );\n
\n
\t\t// reorder sites\n
\t\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t\tadd_action( 'network_admin_menu', [ $this, 'hicpo_network_admin_menu' ] );\n
\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_update_network_options' ] );\n
\t\t\tadd_action( 'wp_ajax_update-menu-order-sites', [ $this, 'hicpo_update_menu_order_sites' ] );\n
\n
\t\t\t// networkadmin サイト削除時はサイト並び替え除外\n
\t\t\tif (\n
\t\t\t\tempty( $_SERVER['QUERY_STRING'] ) ||\n
\t\t\t\t( ! empty( $_SERVER['QUERY_STRING'] ) &&\n
\t\t\t\t\t'action=deleteblog' !== $_SERVER['QUERY_STRING'] && // delete\n
\t\t\t\t\t'action=allblogs' !== $_SERVER['QUERY_STRING'] // delete all\n
\t\t\t\t)\n
\t\t\t) {\n
\n
\t\t\t\t// call from 'get_sites'\n
\t\t\t\tadd_filter( 'sites_clauses', [ $this, 'hicpo_sites_clauses' ], 10, 1 );\n
\n
\t\t\t\tadd_action( 'admin_init', [ $this, 'hicpo_refresh_network' ] );\n
\n
\t\t\t\t// adminbar sites reorder\n
\t\t\t\tadd_filter( 'get_blogs_of_user', [ $this, 'hicpo_get_blogs_of_user' ], 10, 3 );\n
\t\t\t}\n
\n
\t\t\t// before wp v4.6.0 * wp_get_sites\n
\t\t\tadd_action( 'init', [ $this, 'hicpo_refresh_front_network' ] );\n
\t\t}\n
\t}\n
\n
\t/**\n
\t * Method\n
\t */\n
\tpublic function hicpo_activation() {\n
\t\tglobal $wpdb;\n
\n
\t\t// add term_order COLUMN to $wpdb->terms TABLE\n
\t\t$result = $wpdb->query( "DESCRIBE $wpdb->terms `term_order`" );\n
\t\tif ( ! $result ) {\n
\t\t\t$query = "ALTER TABLE $wpdb->terms ADD `term_order` INT( 4 ) NULL DEFAULT '0'";\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- it is ok.\n
\t\t\t$result = $wpdb->query( $query );\n
\t\t}\n
\n
\t\tif ( function_exists( 'is_multisite' ) && is_multisite() ) {\n
\t\t\t// add menu_order COLUMN to $wpdb->blogs TABLE\n
\t\t\t$result = $wpdb->query( "DESCRIBE $wpdb->blogs `menu_order`" );\n
\t\t\tif ( ! $result ) {\n
\t\t\t\t$query = "ALTER TABLE $wpdb->blogs ADD `menu_order` INT( 4 ) NULL DEFAULT '0'";\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- it is ok.\n
\t\t\t\t$result = $wpdb->query( $query );\n
\t\t\t}\n
\t\t}\n
\t\tupdate_option( 'hicpo_ver', HICPO_VER );\n
\t}\n
\n
\tpublic function hicpo_load_plugin_textdomain() {\n
\t\tload_plugin_textdomain(\n
\t\t\t'intuitive-custom-post-order',\n
\t\t\tfalse,\n
\t\t\tbasename( __DIR__ ) . '/languages/'\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_admin_menu() {\n
\t\tadd_options_page(\n
\t\t\t__( 'Intuitive CPO', 'intuitive-custom-post-order' ),\n
\t\t\t__( 'Intuitive CPO', 'intuitive-custom-post-order' ),\n
\t\t\t'manage_options',\n
\t\t\t'hicpo-settings',\n
\t\t\t[ $this, 'hicpo_admin_page' ]\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_admin_page() {\n
\t\trequire HICPO_DIR . 'admin/settings.php';\n
\t}\n
\n
\tpublic function hicpo_network_admin_menu() {\n
\t\tadd_submenu_page(\n
\t\t\t'settings.php',\n
\t\t\t__( 'Intuitive CPO', 'hicpo' ),\n
\t\t\t__( 'Intuitive CPO', 'hicpo' ),\n
\t\t\t'manage_options',\n
\t\t\t'hicpo-network-settings',\n
\t\t\t[ $this, 'hicpo_network_admin_page' ]\n
\t\t);\n
\t}\n
\n
\tpublic function hicpo_network_admin_page() {\n
\t\trequire HICPO_DIR . 'admin/settings-network.php';\n
\t}\n
\n
\tprivate function _hicpo_check_load_script_css() {\n
\t\tglobal $pagenow, $typenow;\n
\n
\t\t$active = false;\n
\n
\t\tif ( ! current_user_can( 'hicpo_load_script_css' ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// multisite > sites\n
\t\tif (\n
\t\t\tfunction_exists( 'is_multisite' )\n
\t\t\t&& is_multisite()\n
\t\t\t&& 'sites.php' == $pagenow\n
\t\t\t&& get_option( 'hicpo_network_sites' )\n
\t\t) {\n
\t\t\treturn true;\n
\t\t}\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( empty( $objects ) && empty( $tags ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// exclude when orderby is set or at add new or edit page\n
\t\t$is_orderby_set = isset( $_GET['orderby'] );\n
\t\t$is_edit_action_or_new_post = (\n
\t\t\tisset( $_SERVER['REQUEST_URI'] ) &&\n
\t\t\t(\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'action=edit' ) ||\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'wp-admin/post-new.php' )\n
\t\t\t)\n
\t\t);\n
\t\tif ( $is_orderby_set || $is_edit_action_or_new_post ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\t// page or custom post type\n
\t\t\tif ( isset( $_GET['post_type'] ) && ! isset( $_GET['taxonomy'] ) && in_array( $_GET['post_type'], $objects ) ) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\n
\t\t\t// post\n
\t\t\tif (\n
\t\t\t\t! isset( $_GET['post_type'] ) &&\n
\t\t\t\tstrstr( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'wp-admin/edit.php' ) &&\n
\t\t\t\tin_array( 'post', $objects )\n
\t\t\t) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tif ( isset( $_GET['taxonomy'] ) && in_array( $_GET['taxonomy'], $tags ) ) {\n
\t\t\t\t$active = true;\n
\t\t\t}\n
\t\t}\n
\n
\t\treturn $active;\n
\t}\n
\n
\tpublic function hicpo_load_script_css() {\n
\t\tif ( $this->_hicpo_check_load_script_css() ) {\n
\t\t\twp_enqueue_script( 'jquery' );\n
\t\t\twp_enqueue_script( 'jquery-ui-sortable' );\n
\n
\t\t\twp_enqueue_script( 'hicpojs', HICPO_URL . '/js/hicpo.js', [ 'jquery' ], HICPO_VER, true );\n
\t\t\twp_localize_script( 'hicpojs', 'hicpojs_ajax_vars', [ 'nonce' => wp_create_nonce( 'hicpojs-ajax-nonce' ) ] );\n
\n
\t\t\twp_enqueue_style( 'hicpo', HICPO_URL . '/css/hicpo.css', [], HICPO_VER );\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh() {\n
\t\tglobal $wpdb;\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\tforeach ( $objects as $object ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT ID\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\tORDER BY menu_order ASC\n
\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $key + 1 ], [ 'ID' => $result->ID ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tforeach ( $tags as $taxonomy ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(term_order) as max, min(term_order) as min\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT terms.term_id\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t\tORDER BY term_order ASC\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $key + 1 ], [ 'term_id' => $result->term_id ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh_network() {\n
\t\tglobal $pagenow;\n
\t\tif ( 'sites.php' === $pagenow && ! isset( $_GET['orderby'] ) ) {\n
\t\t\tadd_filter( 'query', [ $this, 'hicpo_refresh_network_2' ] );\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_refresh_network_2( $query ) {\n
\t\tglobal $wpdb, $wp_version, $blog_id;\n
\n
\t\t/**\n
\t\t * after wp4.7.0\n
\t\t * ブログのステータスが公開以外の際、$blog_id=1以外のoptionを取得しようとする処理のSQLを除外する\n
\t\t * eq.) SELECT option_name, option_value FROM wp_11_options WHERE autoload = 'yes'\n
\t\t */\n
\n
\t\t// $wpdb->get_varやswitch_to_blog(1)からのget_optionでは処理が止まるため、$blog_idで判別\n
\t\tif ( version_compare( $wp_version, '4.7.0' ) >= 0 ) {\n
\t\t\tif ( 1 !== $blog_id ) {\n
\t\t\t\treturn $query;\n
\t\t\t}\n
\t\t}\n
\n
\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\treturn $query;\n
\t\t}\n
\n
\t\tif (\n
\t\t\tfalse !== strpos( $query, "SELECT * FROM $wpdb->blogs WHERE site_id = '1'" ) ||\n
\t\t\tfalse !== strpos( $query, "SQL_CALC_FOUND_ROWS blog_id FROM $wpdb->blogs WHERE site_id = 1" )\n
\t\t) {\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $query;\n
\t}\n
\n
\tpublic function hicpo_update_menu_order() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t// get objects per now page\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\t// get menu_order of objects per now page\n
\t\t$menu_order_arr = [];\n
\t\tforeach ( $id_arr as $key => $id ) {\n
\t\t\t$results = $wpdb->get_results( "SELECT menu_order FROM $wpdb->posts WHERE ID = " . intval( $id ) );\n
\t\t\tforeach ( $results as $result ) {\n
\t\t\t\t$menu_order_arr[] = $result->menu_order;\n
\t\t\t}\n
\t\t}\n
\n
\t\t// maintains key association = no\n
\t\tsort( $menu_order_arr );\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $menu_order_arr[ $position ] ], [ 'ID' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\t// same number check\n
\t\t$post_type = get_post_type( $id );\n
\t\t$query = $wpdb->prepare(\n
\t\t\t"\n
\t\t\tSELECT COUNT(menu_order) AS mo_count, post_type, menu_order FROM $wpdb->posts\n
\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\tAND menu_order > 0 GROUP BY post_type, menu_order HAVING (mo_count) > 1\n
\t\t\t",\n
\t\t\t$post_type\n
\t\t);\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t$results = $wpdb->get_results( $query );\n
\t\tif ( count( $results ) > 0 ) {\n
\t\t\t// menu_order refresh\n
\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t"\n
\t\t\tSELECT ID, menu_order FROM $wpdb->posts\n
\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\tAND menu_order > 0 ORDER BY menu_order\n
\t\t\t",\n
\t\t\t\t$post_type\n
\t\t\t);\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$view_posi = array_search( $result->ID, $id_arr, true );\n
\t\t\t\tif ( false === $view_posi ) {\n
\t\t\t\t\t$view_posi = 999;\n
\t\t\t\t}\n
\t\t\t\t$sort_key = ( $result->menu_order * 1000 ) + $view_posi;\n
\t\t\t\t$sort_ids[ $sort_key ] = $result->ID;\n
\t\t\t}\n
\t\t\tksort( $sort_ids );\n
\t\t\t$oreder_no = 0;\n
\t\t\tforeach ( $sort_ids as $key => $id ) {\n
\t\t\t\t$oreder_no = ++$oreder_no;\n
\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $oreder_no ], [ 'ID' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_update_menu_order_tags() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\t$menu_order_arr = [];\n
\t\tforeach ( $id_arr as $key => $id ) {\n
\t\t\t$results = $wpdb->get_results( "SELECT term_order FROM $wpdb->terms WHERE term_id = " . intval( $id ) );\n
\t\t\tforeach ( $results as $result ) {\n
\t\t\t\t$menu_order_arr[] = $result->term_order;\n
\t\t\t}\n
\t\t}\n
\t\tsort( $menu_order_arr );\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $menu_order_arr[ $position ] ], [ 'term_id' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\t// same number check\n
\t\t$term = get_term( $id );\n
\t\t$taxonomy = $term->taxonomy;\n
\t\t$query = $wpdb->prepare(\n
\t\t\t"\n
\t\t\tSELECT COUNT(term_order) AS to_count, term_order\n
\t\t\tFROM $wpdb->terms AS terms\n
\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\tWHERE term_taxonomy.taxonomy = %s GROUP BY taxonomy, term_order HAVING (to_count) > 1\n
\t\t\t",\n
\t\t\t$taxonomy\n
\t\t);\n
\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t$results = $wpdb->get_results( $query );\n
\n
\t\tif ( count( $results ) > 0 ) {\n
\t\t\t// term_order refresh\n
\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t"\n
\t\t\t\tSELECT terms.term_id, term_order\n
\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\tORDER BY term_order ASC\n
\t\t\t\t",\n
\t\t\t\t$taxonomy\n
\t\t\t);\n
\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t$results = $wpdb->get_results( $query );\n
\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$view_posi = array_search( $result->term_id, $id_arr, true );\n
\t\t\t\tif ( false === $view_posi ) {\n
\t\t\t\t\t$view_posi = 999;\n
\t\t\t\t}\n
\t\t\t\t$sort_key = ( $result->term_order * 1000 ) + $view_posi;\n
\t\t\t\t$sort_ids[ $sort_key ] = $result->term_id;\n
\t\t\t}\n
\t\t\tksort( $sort_ids );\n
\t\t\t$oreder_no = 0;\n
\t\t\tforeach ( $sort_ids as $key => $id ) {\n
\t\t\t\t$oreder_no = ++$oreder_no;\n
\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $oreder_no ], [ 'term_id' => $id ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_update_menu_order_sites() {\n
\t\tif ( ! isset( $_POST['nonce'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$nonce = sanitize_text_field( wp_unslash( $_POST['nonce'] ) );\n
\t\tif ( ! wp_verify_nonce( $nonce, 'hicpojs-ajax-nonce' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! current_user_can( 'hicpo_update_menu_order_sites' ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\tif ( ! isset( $_POST['order'] ) ) {\n
\t\t\treturn;\n
\t\t}\n
\n
\t\t$order = sanitize_text_field( wp_unslash( $_POST['order'] ) );\n
\t\tparse_str( $order, $data );\n
\n
\t\tif ( ! is_array( $data ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t$id_arr = [];\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$id_arr[] = $id;\n
\t\t\t}\n
\t\t}\n
\n
\t\tglobal $wpdb;\n
\n
\t\tforeach ( $data as $key => $values ) {\n
\t\t\tforeach ( $values as $position => $id ) {\n
\t\t\t\t$wpdb->update( $wpdb->blogs, [ 'menu_order' => $position + 1 ], [ 'blog_id' => intval( $id ) ] );\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\t/**\n
\t * はじめて有効化されたオブジェクトは、ディフォルトの order に従って menu_order セットする\n
\t *\n
\t * post_type: orderby=post_date, order=DESC\n
\t * page: orderby=menu_order, post_title, order=ASC\n
\t * taxonomy: orderby=name, order=ASC\n
\t *\n
\t * 判定は: アイテム数が 0 以上で menu_order の最大値とアイテム数が同じではないオブジェクト\n
\t */\n
\n
\tpublic function hicpo_update_options() {\n
\t\tglobal $wpdb;\n
\n
\t\tif ( ! isset( $_POST['hicpo_submit'] ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tcheck_admin_referer( 'nonce_hicpo' );\n
\n
\t\t$input_options = [];\n
\t\t$input_options['objects'] = isset( $_POST['objects'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['objects'] ) ) : [];\n
\t\t$input_options['tags'] = isset( $_POST['tags'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['tags'] ) ) : [];\n
\n
\t\tupdate_option( 'hicpo_options', $input_options );\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! empty( $objects ) ) {\n
\t\t\tforeach ( $objects as $object ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t",\n
\t\t\t\t\t$object\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\tif ( 'page' == $object ) {\n
\t\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t\t"\n
\t\t\t\t\t\tSELECT ID\n
\t\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t\tORDER BY menu_order, post_title ASC\n
\t\t\t\t\t",\n
\t\t\t\t\t\t$object\n
\t\t\t\t\t);\n
\t\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\t} else {\n
\t\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t\t"\n
\t\t\t\t\t\tSELECT ID\n
\t\t\t\t\t\tFROM $wpdb->posts\n
\t\t\t\t\t\tWHERE post_type = %s AND post_status IN ('publish', 'pending', 'draft', 'private', 'future')\n
\t\t\t\t\t\tORDER BY post_date DESC\n
\t\t\t\t\t",\n
\t\t\t\t\t\t$object\n
\t\t\t\t\t);\n
\t\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\t}\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->posts, [ 'menu_order' => $key + 1 ], [ 'ID' => $result->ID ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\tif ( ! empty( $tags ) ) {\n
\t\t\tforeach ( $tags as $taxonomy ) {\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT count(*) as cnt, max(term_order) as max, min(term_order) as min\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$result = $wpdb->get_results( $query );\n
\t\t\t\tif ( 0 == $result[0]->cnt || $result[0]->cnt == $result[0]->max ) {\n
\t\t\t\t\tcontinue;\n
\t\t\t\t}\n
\n
\t\t\t\t$query = $wpdb->prepare(\n
\t\t\t\t\t"\n
\t\t\t\t\tSELECT terms.term_id\n
\t\t\t\t\tFROM $wpdb->terms AS terms\n
\t\t\t\t\tINNER JOIN $wpdb->term_taxonomy AS term_taxonomy ON ( terms.term_id = term_taxonomy.term_id )\n
\t\t\t\t\tWHERE term_taxonomy.taxonomy = %s\n
\t\t\t\t\tORDER BY name ASC\n
\t\t\t\t",\n
\t\t\t\t\t$taxonomy\n
\t\t\t\t);\n
\t\t\t\t// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $query is prepared.\n
\t\t\t\t$results = $wpdb->get_results( $query );\n
\t\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t\t$wpdb->update( $wpdb->terms, [ 'term_order' => $key + 1 ], [ 'term_id' => $result->term_id ] );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\n
\t\twp_redirect( 'admin.php?page=hicpo-settings&msg=update' );\n
\t}\n
\n
\tpublic function hicpo_update_network_options() {\n
\t\tglobal $wpdb;\n
\n
\t\tif ( ! isset( $_POST['hicpo_network_submit'] ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\tcheck_admin_referer( 'nonce_hicpo' );\n
\n
\t\t$hicpo_network_sites = isset( $_POST['sites'] ) ? sanitize_text_field( wp_unslash( $_POST['sites'] ) ) : 0;\n
\n
\t\tupdate_option( 'hicpo_network_sites', $hicpo_network_sites );\n
\n
\t\t// Initial\n
\t\t$result = $wpdb->get_results(\n
\t\t\t"\n
\t\t\tSELECT count(*) as cnt, max(menu_order) as max, min(menu_order) as min\n
\t\t\tFROM $wpdb->blogs\n
\t\t\t"\n
\t\t);\n
\t\tif ( 0 != $result[0]->cnt && $result[0]->cnt != $result[0]->max ) {\n
\t\t\t$results = $wpdb->get_results(\n
\t\t\t\t"\n
\t\t\t\tSELECT blog_id\n
\t\t\t\tFROM $wpdb->blogs\n
\t\t\t\tORDER BY blog_id ASC\n
\t\t\t"\n
\t\t\t);\n
\t\t\tforeach ( $results as $key => $result ) {\n
\t\t\t\t$wpdb->update( $wpdb->blogs, [ 'menu_order' => $key + 1 ], [ 'blog_id' => $result->blog_id ] );\n
\t\t\t}\n
\t\t}\n
\n
\t\twp_redirect( 'settings.php?page=hicpo-network-settings&msg=update' );\n
\t}\n
\n
\tpublic function hicpo_previous_post_where( $where ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $where;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$current_menu_order = $post->menu_order;\n
\t\t\t$where = str_replace( "p.post_date < '" . $post->post_date . "'", "p.menu_order > '" . $current_menu_order . "'", $where );\n
\t\t}\n
\t\treturn $where;\n
\t}\n
\n
\tpublic function hicpo_previous_post_sort( $orderby ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$orderby = 'ORDER BY p.menu_order ASC LIMIT 1';\n
\t\t}\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_next_post_where( $where ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $where;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$current_menu_order = $post->menu_order;\n
\t\t\t$where = str_replace( "p.post_date > '" . $post->post_date . "'", "p.menu_order < '" . $current_menu_order . "'", $where );\n
\t\t}\n
\t\treturn $where;\n
\t}\n
\n
\tpublic function hicpo_next_post_sort( $orderby ) {\n
\t\tglobal $post;\n
\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\tif ( isset( $post->post_type ) && in_array( $post->post_type, $objects ) ) {\n
\t\t\t$orderby = 'ORDER BY p.menu_order DESC LIMIT 1';\n
\t\t}\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_pre_get_posts( $wp_query ) {\n
\t\t$objects = $this->hicpo_get_options_objects();\n
\t\tif ( empty( $objects ) ) {\n
\t\t\treturn false;\n
\t\t}\n
\n
\t\t/**\n
\t\t * for Admin\n
\t\t *\n
\t\t * @default\n
\t\t * post cpt: [order] => null(desc) [orderby] => null(date)\n
\t\t * page: [order] => asc [orderby] => menu_order title\n
\t\t *\n
\t\t */\n
\t\tif ( is_admin() ) {\n
\n
\t\t\t// adminの場合 $wp_query->query['post_type']=post も渡される\n
\t\t\tif ( isset( $wp_query->query['post_type'] ) && ! isset( $_GET['orderby'] ) ) {\n
\t\t\t\tif ( in_array( $wp_query->query['post_type'], $objects ) ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t}\n
\t\t\t}\n
\n
\t\t\t/**\n
\t\t\t * for Front End\n
\t\t\t */\n
\t\t} else {\n
\n
\t\t\t$active = false;\n
\n
\t\t\t// page or custom post types\n
\t\t\tif ( isset( $wp_query->query['post_type'] ) ) {\n
\t\t\t\t// exclude array()\n
\t\t\t\tif ( ! is_array( $wp_query->query['post_type'] ) ) {\n
\t\t\t\t\tif ( in_array( $wp_query->query['post_type'], $objects ) ) {\n
\t\t\t\t\t\t$active = true;\n
\t\t\t\t\t}\n
\t\t\t\t}\n
\t\t\t\t// post\n
\t\t\t} elseif ( in_array( 'post', $objects ) ) {\n
\t\t\t\t\t$active = true;\n
\t\t\t}\n
\n
\t\t\tif ( ! $active ) {\n
\t\t\t\treturn false;\n
\t\t\t}\n
\n
\t\t\t// get_posts()\n
\t\t\tif ( isset( $wp_query->query['suppress_filters'] ) ) {\n
\t\t\t\tif ( $wp_query->get( 'orderby' ) == 'date' || $wp_query->get( 'orderby' ) == 'menu_order' ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t} elseif ( $wp_query->get( 'orderby' ) == 'default_date' ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'date' );\n
\t\t\t\t}\n
\t\t\t\t// WP_Query( contain main_query )\n
\t\t\t} else {\n
\t\t\t\tif ( ! $wp_query->get( 'orderby' ) ) {\n
\t\t\t\t\t$wp_query->set( 'orderby', 'menu_order' );\n
\t\t\t\t}\n
\t\t\t\tif ( ! $wp_query->get( 'order' ) ) {\n
\t\t\t\t\t$wp_query->set( 'order', 'ASC' );\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t}\n
\n
\tpublic function hicpo_get_terms_orderby( $orderby, $args ) {\n
\t\tif ( is_admin() ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( ! isset( $args['taxonomy'] ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$taxonomy = $args['taxonomy'];\n
\t\tif ( ! in_array( $taxonomy, $tags ) ) {\n
\t\t\treturn $orderby;\n
\t\t}\n
\n
\t\t$orderby = 't.term_order';\n
\t\treturn $orderby;\n
\t}\n
\n
\tpublic function hicpo_get_object_terms( $terms ) {\n
\t\t$tags = $this->hicpo_get_options_tags();\n
\n
\t\tif ( is_admin() && isset( $_GET['orderby'] ) ) {\n
\t\t\treturn $terms;\n
\t\t}\n
\n
\t\tforeach ( $terms as $key => $term ) {\n
\t\t\tif ( is_object( $term ) && isset( $term->taxonomy ) ) {\n
\t\t\t\t$taxonomy = $term->taxonomy;\n
\t\t\t\tif ( ! in_array( $taxonomy, $tags ) ) {\n
\t\t\t\t\treturn $terms;\n
\t\t\t\t}\n
\t\t\t} else {\n
\t\t\t\treturn $terms;\n
\t\t\t}\n
\t\t}\n
\n
\t\tusort( $terms, [ $this, 'hicpo_taxcmp' ] );\n
\t\treturn $terms;\n
\t}\n
\n
\tprivate function hicpo_taxcmp( $a, $b ) {\n
\t\tif ( $a->term_order == $b->term_order ) {\n
\t\t\treturn 0;\n
\t\t}\n
\t\treturn ( $a->term_order < $b->term_order ) ? -1 : 1;\n
\t}\n
\n
\tpublic function hicpo_sites_clauses( $pieces = [] ) {\n
\t\tglobal $blog_id;\n
\n
\t\tif ( is_admin() ) {\n
\t\t\treturn $pieces;\n
\t\t}\n
\t\tif ( 1 != $blog_id ) {\n
\t\t\tswitch_to_blog( 1 );\n
\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\trestore_current_blog();\n
\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\treturn $pieces;\n
\t\t\t}\n
\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\treturn $pieces;\n
\t\t}\n
\n
\t\tglobal $wp_version;\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) >= 0 ) {\n
\t\t\t// サイト並び替え指定がデフォルトの場合のみ並び替え\n
\t\t\tif ( 'blog_id ASC' === $pieces['orderby'] ) {\n
\t\t\t\t$pieces['orderby'] = 'menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $pieces;\n
\t}\n
\n
\tpublic function hicpo_get_blogs_of_user( $blogs ) {\n
\t\tglobal $blog_id;\n
\t\tif ( 1 != $blog_id ) {\n
\t\t\tswitch_to_blog( 1 );\n
\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\trestore_current_blog();\n
\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\treturn $blogs;\n
\t\t\t}\n
\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\treturn $blogs;\n
\t\t}\n
\t\tglobal $wpdb, $wp_version;\n
\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) >= 0 ) {\n
\t\t\t$sites = get_sites( [] );\n
\t\t\t$sort_keys = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\t$sort_keys[] = $v->menu_order;\n
\t\t\t}\n
\t\t\tarray_multisort( $sort_keys, SORT_ASC, $sites );\n
\n
\t\t\t$blog_list = [];\n
\t\t\tforeach ( $blogs as $k => $v ) {\n
\t\t\t\t$blog_list[ $v->userblog_id ] = $v;\n
\t\t\t}\n
\n
\t\t\t$new = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\tif (\n
\t\t\t\t\tisset( $v->blog_id ) &&\n
\t\t\t\t\tisset( $blog_list[ $v->blog_id ] ) &&\n
\t\t\t\t\tis_object( $blog_list[ $v->blog_id ] )\n
\t\t\t\t) {\n
\t\t\t\t\t$new[] = $blog_list[ $v->blog_id ];\n
\t\t\t\t}\n
\t\t\t}\n
\t\t} else {\n
\t\t\t$sites = get_sites( [ 'limit' => 9999 ] );\n
\t\t\t$sort_keys = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\t$sort_keys[] = $v['menu_order'];\n
\t\t\t}\n
\t\t\tarray_multisort( $sort_keys, SORT_ASC, $sites );\n
\n
\t\t\t$blog_list = [];\n
\t\t\tforeach ( $blogs as $k => $v ) {\n
\t\t\t\t$blog_list[ $v->userblog_id ] = $v;\n
\t\t\t}\n
\n
\t\t\t$new = [];\n
\t\t\tforeach ( $sites as $k => $v ) {\n
\t\t\t\tif (\n
\t\t\t\t\tisset( $v['blog_id'] ) &&\n
\t\t\t\t\tisset( $blog_list[ $v['blog_id'] ] ) &&\n
\t\t\t\t\tis_object( $blog_list[ $v['blog_id'] ] )\n
\t\t\t\t) {\n
\t\t\t\t\t$new[] = $blog_list[ $v['blog_id'] ];\n
\t\t\t\t}\n
\t\t\t}\n
\t\t}\n
\t\treturn $new;\n
\t}\n
\n
\t/* before wp v4.6.0 */\n
\tpublic function hicpo_refresh_front_network() {\n
\t\t global $wp_version;\n
\t\tif ( version_compare( $wp_version, '4.6.0' ) < 0 ) {\n
\t\t\tglobal $blog_id;\n
\t\t\tif ( 1 != $blog_id ) {\n
\t\t\t\t$hicpo_network_sites = get_option( 'hicpo_network_sites' );\n
\t\t\t\trestore_current_blog();\n
\t\t\t\tif ( ! $hicpo_network_sites ) {\n
\t\t\t\t\treturn;\n
\t\t\t\t}\n
\t\t\t} elseif ( ! get_option( 'hicpo_network_sites' ) ) {\n
\t\t\t\t\treturn;\n
\t\t\t}\n
\t\t\tadd_filter( 'query', [ $this, 'hicpo_refresh_front_network_2' ] );\n
\t\t}\n
\t}\n
\tpublic function hicpo_refresh_front_network_2( $query ) {\n
\t\tglobal $wpdb;\n
\t\tif ( false !== strpos( $query, "SELECT blog_id FROM $wpdb->blogs ORDER BY blog_id ASC" ) ) {\n
\t\t\t$query = str_replace( 'ORDER BY blog_id ASC', '', $query );\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t} elseif ( false !== strpos( $query, "SELECT * FROM $wpdb->blogs WHERE 1=1 AND site_id IN (1)" ) ) {\n
\t\t\tif ( false !== strpos( $query, ' LIMIT ' ) ) {\n
\t\t\t\t$query = preg_replace( '/^(.*) LIMIT(.*)$/', '$1 ORDER BY menu_order ASC LIMIT $2', $query );\n
\t\t\t} else {\n
\t\t\t\t$query .= ' ORDER BY menu_order ASC';\n
\t\t\t}\n
\t\t}\n
\t\treturn $query;\n
\t}\n
\n
\tpublic function hicpo_get_options_objects() {\n
\t\t$hicpo_options = get_option( 'hicpo_options' ) ? get_option( 'hicpo_options' ) : [];\n
\t\t$objects = isset( $hicpo_options['objects'] ) && is_array( $hicpo_options['objects'] ) ? $hicpo_options['objects'] : [];\n
\t\treturn $objects;\n
\t}\n
\tpublic function hicpo_get_options_tags() {\n
\t\t$hicpo_options = get_option( 'hicpo_options' ) ? get_option( 'hicpo_options' ) : [];\n
\t\t$tags = isset( $hicpo_options['tags'] ) && is_array( $hicpo_options['tags'] ) ? $hicpo_options['tags'] : [];\n
\t\treturn $tags;\n
\t}\n
\n
\tpublic function hicpo_add_capabilities() {\n
\t\t$administrator = get_role( 'administrator' );\n
\t\tif ( $administrator ) {\n
\t\t\t$administrator->add_cap( 'hicpo_hicpo_load_script_css' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order_tags' );\n
\t\t\t$administrator->add_cap( 'hicpo_update_menu_order_sites' );\n
\t\t}\n
\n
\t\t$editor = get_role( 'editor' );\n
\t\tif ( $editor ) {\n
\t\t\t$editor->add_cap( 'hicpo_hicpo_load_script_css' );\n
\t\t\t$editor->add_cap( 'hicpo_update_menu_order' );\n
\t\t\t$editor->add_cap( 'hicpo_update_menu_order_tags' );\n
\t\t}\n
\t}\n
}\n
"""
"version_matches" => array:2 [
0 => "Version: 3.1.5"
1 => "3.1.5"
]
"plugin_version" => "3.1.5"
"hicpo" => Hicpo {#8589}
"maxMemory" => 134217728
"last" => "m"
"wfCoreLoading" => true
"wfCoreActive" => true
"plugins" => array:13 [
0 => "polylang/polylang.php"
1 => "advanced-custom-fields-pro/acf.php"
2 => "akismet/akismet.php"
3 => "better-wp-security/better-wp-security.php"
5 => "intuitive-custom-post-order/intuitive-custom-post-order.php"
6 => "really-simple-ssl/rlrsssl-really-simple-ssl.php"
7 => "redirection/redirection.php"
8 => "string-locator/string-locator.php"
9 => "vfb-pro/vfb-pro.php"
10 => "wordfence/wordfence.php"
11 => "wordpress-seo/wp-seo.php"
12 => "wp-cli-login-server/wp-cli-login-server.php"
13 => "wp-mail-smtp/wp_mail_smtp.php"
]
"wfVersion" => "7.11.5"
"p" => 0
"yoast_autoload_file" => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/plugins/wordpress-seo/vendor/autoload.php"
"spl_autoload_exists" => true
"filter_exists" => true
"wpseo_register_capabilities" => WPSEO_Register_Roles {#9077}
"polylang" => PLL_Frontend {#9035}
"text_direction" => "ltr"
"pass_allowed_html" => array:6 [
"abbr" => array:1 [ …1]
"acronym" => array:1 [ …1]
"code" => true
"em" => true
"strong" => true
"a" => array:2 [ …2]
]
"pass_allowed_protocols" => array:19 [
0 => "http"
1 => "https"
2 => "ftp"
3 => "ftps"
4 => "mailto"
5 => "news"
6 => "irc"
7 => "gopher"
8 => "nntp"
9 => "feed"
10 => "telnet"
11 => "mms"
12 => "rtsp"
13 => "svn"
14 => "tel"
15 => "fax"
16 => "xmpp"
17 => "webcal"
18 => "urn"
]
"wp_cockneyreplace" => null
"rsssl_front_end" => rsssl_front_end {#9248}
"rsssl_mixed_content_fixer" => rsssl_mixed_content_fixer {#9249}
"current_user" => WP_User {#9259}
"wp_rest_auth_cookie" => "malformed"
"user_login" => ""
"userdata" => null
"user_level" => 0
"user_ID" => 0
"user_email" => ""
"user_url" => ""
"user_identity" => ""
"phpmailer" => MailCatcher {#9271}
"wp_meta_keys" => array:1 [
"post" => array:1 [ …1]
]
"wpseo_sitemaps" => WPSEO_Sitemaps {#9346}
"wp_the_query" => WP_Query {#9370}
"wp_query" => WP_Query {#9370}
"wp_widget_factory" => WP_Widget_Factory {#9382}
"wp_user_roles" => null
"wp_roles" => WP_Roles {#9383}
"weekday" => array:7 [
0 => "Sunday"
1 => "Monday"
2 => "Tuesday"
3 => "Wednesday"
4 => "Thursday"
5 => "Friday"
6 => "Saturday"
]
"weekday_initial" => array:7 [
"Sunday" => "S"
"Monday" => "M"
"Tuesday" => "T"
"Wednesday" => "W"
"Thursday" => "T"
"Friday" => "F"
"Saturday" => "S"
]
"weekday_abbrev" => array:7 [
"Sunday" => "Sun"
"Monday" => "Mon"
"Tuesday" => "Tue"
"Wednesday" => "Wed"
"Thursday" => "Thu"
"Friday" => "Fri"
"Saturday" => "Sat"
]
"month" => array:12 [
"01" => "January"
"02" => "February"
"03" => "March"
"04" => "April"
"05" => "May"
"06" => "June"
"07" => "July"
"08" => "August"
"09" => "September"
10 => "October"
11 => "November"
12 => "December"
]
"month_abbrev" => array:12 [
"January" => "Jan"
"February" => "Feb"
"March" => "Mar"
"April" => "Apr"
"May" => "May"
"June" => "Jun"
"July" => "Jul"
"August" => "Aug"
"September" => "Sep"
"October" => "Oct"
"November" => "Nov"
"December" => "Dec"
]
"wp_locale" => WP_Locale {#9066}
"wp_locale_switcher" => WP_Locale_Switcher {#9065}
"__composer_autoload_files" => array:9 [
"7b11c4dc42b3b3023073cb14e519683c" => true
"a0edc8309cc5e1d60e3047b5df6b7052" => true
"c964ee0ededf28c96ebd9db5099ef910" => true
"37a3dc5111fe8f707ab4c132ef1dbc62" => true
"0e6d7bf4a5811bfa5cf40c5ccd6fae6a" => true
"25072dd6e2470089de65ae7bf11d3109" => true
"667aeda72477189d0494fecd327c3641" => true
"19e6a4caf088e64c5d694c3515f4486b" => true
"aa19a1c435d79e07800c018ea6d0f993" => true
]
"_wp_registered_nav_menus" => array:2 [
"primary" => "Primary Menu"
"secondary" => "Secondary Menu"
]
"sidebars_widgets" => array:2 [
"wp_inactive_widgets" => []
"sidebar" => array:6 [ …6]
]
"wp_customize" => null
"wp_scripts" => WP_Scripts {#9476}
"concatenate_scripts" => false
"compress_scripts" => false
"compress_css" => false
"_SESSION" => &305 []
"wpsmiliestrans" => array:43 [
";-)" => "😉"
";)" => "😉"
":|" => "😐"
":x" => "😡"
":wink:" => "😉"
":twisted:" => "😈"
":smile:" => "🙂"
":shock:" => "😯"
":sad:" => "🙁"
":roll:" => "🙄"
":razz:" => "😛"
":oops:" => "😳"
":o" => "😮"
":neutral:" => "😐"
":mrgreen:" => "mrgreen.png"
":mad:" => "😡"
":lol:" => "😆"
":idea:" => "💡"
":grin:" => "😀"
":evil:" => "👿"
":eek:" => "😮"
":cry:" => "😥"
":cool:" => "😎"
":arrow:" => "➡"
":P" => "😛"
":D" => "😀"
":???:" => "😕"
":?:" => "❓"
":?" => "😕"
":-|" => "😐"
":-x" => "😡"
":-o" => "😮"
":-P" => "😛"
":-D" => "😀"
":-?" => "😕"
":-)" => "🙂"
":-(" => "🙁"
":)" => "🙂"
":(" => "🙁"
":!:" => "❗"
"8O" => "😯"
"8-O" => "😯"
"8-)" => "😎"
]
"wp_smiliessearch" => "/(?<=[\r\n\t ]|\xC2\xA0| |^);(?:\-\)|\))(?=[\r\n\t ]|\xC2\xA0| |$)|(?<=[\r\n\t ]|\xC2\xA0| |^)\:(?:\||x|wink\:|twisted\:|smile\:|shock\:|sad\:|roll\:|razz\:|oops\:|o|neutral\:|mrgreen\:|mad\:|lol\:|idea\:|grin\:|evil\:|eek\:|cry\:|cool\:|arrow\:|P|D|\?\?\?\:|\?\:|\?|\-\||\-x|\-o|\-P|\-D|\-\?|\-\)|\-\(|\)|\(|\!\:)(?=[\r\n\t ]|\xC2\xA0| |$)|(?<=[\r\n\t ]|\xC2\xA0| |^)8(?:O|\-O|\-\))(?=[\r\n\t ]|\xC2\xA0| |$)/m"
"typenow" => null
"wp_header_to_desc" => array:60 [
100 => "Continue"
101 => "Switching Protocols"
102 => "Processing"
103 => "Early Hints"
200 => "OK"
201 => "Created"
202 => "Accepted"
203 => "Non-Authoritative Information"
204 => "No Content"
205 => "Reset Content"
206 => "Partial Content"
207 => "Multi-Status"
226 => "IM Used"
300 => "Multiple Choices"
301 => "Moved Permanently"
302 => "Found"
303 => "See Other"
304 => "Not Modified"
305 => "Use Proxy"
306 => "Reserved"
307 => "Temporary Redirect"
308 => "Permanent Redirect"
400 => "Bad Request"
401 => "Unauthorized"
402 => "Payment Required"
403 => "Forbidden"
404 => "Not Found"
405 => "Method Not Allowed"
406 => "Not Acceptable"
407 => "Proxy Authentication Required"
408 => "Request Timeout"
409 => "Conflict"
410 => "Gone"
411 => "Length Required"
412 => "Precondition Failed"
413 => "Request Entity Too Large"
414 => "Request-URI Too Long"
415 => "Unsupported Media Type"
416 => "Requested Range Not Satisfiable"
417 => "Expectation Failed"
418 => "I'm a teapot"
421 => "Misdirected Request"
422 => "Unprocessable Entity"
423 => "Locked"
424 => "Failed Dependency"
426 => "Upgrade Required"
428 => "Precondition Required"
429 => "Too Many Requests"
431 => "Request Header Fields Too Large"
451 => "Unavailable For Legal Reasons"
500 => "Internal Server Error"
501 => "Not Implemented"
502 => "Bad Gateway"
503 => "Service Unavailable"
504 => "Gateway Timeout"
505 => "HTTP Version Not Supported"
506 => "Variant Also Negotiates"
507 => "Insufficient Storage"
510 => "Not Extended"
511 => "Network Authentication Required"
]
"wp_styles" => WP_Styles {#10080}
"acf_updates" => ACF_Updates {#10174}
"custom_image_header" => null
"custom_background" => null
"page" => 0
"pagename" => "tour"
"lang" => "en"
"error" => ""
"m" => ""
"post_parent" => ""
"subpost" => ""
"subpost_id" => ""
"attachment" => ""
"attachment_id" => 0
"name" => "tour"
"page_id" => 0
"second" => ""
"minute" => ""
"hour" => ""
"day" => 0
"monthnum" => 0
"year" => 0
"w" => 0
"category_name" => ""
"tag" => ""
"cat" => ""
"tag_id" => ""
"author" => ""
"author_name" => ""
"feed" => ""
"tb" => ""
"paged" => 0
"meta_key" => ""
"meta_value" => ""
"preview" => ""
"s" => ""
"sentence" => ""
"title" => ""
"fields" => ""
"menu_order" => ""
"embed" => ""
"category__in" => []
"category__not_in" => []
"category__and" => []
"post__in" => []
"post__not_in" => []
"post_name__in" => []
"tag__in" => []
"tag__not_in" => []
"tag__and" => []
"tag_slug__in" => []
"tag_slug__and" => []
"post_parent__in" => []
"post_parent__not_in" => []
"author__in" => []
"author__not_in" => []
"orderby" => "menu_order"
"order" => "ASC"
"ignore_sticky_posts" => false
"suppress_filters" => false
"cache_results" => true
"update_post_term_cache" => true
"lazy_load_term_meta" => true
"update_post_meta_cache" => true
"post_type" => ""
"posts_per_page" => 10
"nopaging" => false
"comments_per_page" => "50"
"no_found_rows" => false
"query_string" => "pagename=tour&lang=en"
"posts" => &380 array:1 [&380]
"post" => WP_Post {#10249}
"request" => "SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = '702') AND wp_posts.post_type = 'page' ORDER BY wp_posts.menu_order ASC "
"more" => 1
"single" => 1
"template" => "/home/pgfvrjxx/web/lakeview.al/public_html/wp-content/themes/lakeview/pages/tour.php"
"wp_admin_bar" => null
"show_admin_bar" => false
"wpseo_og" => WPSEO_OpenGraph {#10251}
]