WordPressフィルターフックの処理回数
▼調査対象
WordPress v6.7.1 (最新版:2024/12/19現在)
フィルター処理の実際の処理回数を調べてみました。
有効プラグインなし、表示だけのテーマを作成し調べています。
固定画面を表示した場合に実行されるフィルター処理の回数です。
フックするとその回数実行されます。
順位 | フィルタ名 | 処理回数 | 内容 |
---|---|---|---|
1 | gettextwp-includes/l10n.php | 553 |
多言語化処理。訳文、原文、テキストドメイン(翻訳ファイルのファイル名)から訳文を返す。 コード内の__()が対応箇所 |
2 | gettext_with_contextwp-includes/l10n.php | 495 |
多言語化処理。訳文、原文、コンテキスト、テキストドメイン(翻訳ファイルのファイル名)から訳文を返す。 コンテキスト(文脈)によって訳を変える場合に使用。 コード内の_x()が対応箇所 |
3 | alloptionswp-includes/option.php | 217 | すべてのオプション設定の配列を受け取って返す。 |
4 | pre_wp_load_alloptionswp-includes/option.php | 217 | |
5 | pre_optionwp-includes/option.php | 216 | |
6 | should_load_separate_core_block_assetswp-includes/script-loader.php | 198 | |
7 | wp_is_rest_endpointwp-includes/rest-api.php | 198 | REST APIリクエストかの判定用 |
8 | block_type_metadatawp-includes/blocks/index.php | 94 | block.jsonのメタデータを受け取って返す。 |
9 | register_block_type_argswp-includes/class-wp-block-type.php | 94 | |
10 | block_type_metadata_settingswp-includes/blocks.php | 93 | |
11 | set_url_schemewp-includes/link-template.php | 49 | |
12 | interactivity_process_directiveswp-includes/class-wp-block.php | 42 | |
13 | pre_render_blockwp-includes/blocks.php | 42 | |
14 | render_blockwp-includes/class-wp-block.php | 42 | |
15 | render_block_contextwp-includes/blocks.php | 42 | |
16 | render_block_datawp-includes/blocks.php | 42 | |
17 | stylesheetwp-includes/theme.php | 38 | |
18 | sanitize_keywp-includes/formatting.php | 31 | |
19 | site_urlwp-includes/link-template.php | 27 | |
20 | attribute_escapewp-includes/formatting.php | 22 | |
21 | get_block_type_uses_contextwp-includes/class-wp-block-type.php | 22 | |
22 | is_post_type_viewablewp-includes/post.php | 21 | |
23 | home_urlwp-includes/link-template.php | 20 | |
24 | esc_htmlwp-includes/formatting.php | 17 | |
25 | register_post_type_argswp-includes/class-wp-post-type.php | 16 | |
26 | sanitize_titlewp-includes/formatting.php | 16 | |
27 | includes_urlwp-includes/link-template.php | 14 | |
28 | no_texturize_shortcodeswp-includes/formatting.php | 12 | |
29 | no_texturize_tagswp-includes/formatting.php | 12 | |
30 | clean_urlwp-includes/formatting.php | 11 | |
31 | admin_urlwp-includes/link-template.php | 10 | |
32 | safecss_filter_attr_allow_csswp-includes/kses.php | 10 | |
33 | sanitize_text_fieldwp-includes/formatting.php | 10 | |
34 | querywp-includes/class-wpdb.php | 9 | |
35 | wp_kses_uri_attributeswp-includes/kses.php | 9 | |
36 | register_taxonomy_argswp-includes/class-wp-taxonomy.php | 8 | |
37 | theme_rootwp-includes/theme.php | 7 | |
38 | bloginfowp-includes/general-template.php | 6 | |
39 | kses_allowed_protocolswp-includes/functions.php | 6 | |
40 | map_meta_capwp-includes/capabilities.php | 6 | |
41 | rest_url_prefixwp-includes/rest-api.php | 6 | |
42 | user_has_capwp-includes/class-wp-user.php | 6 | |
43 | is_protected_metawp-includes/meta.php | 5 | |
44 | localewp-includes/l10n.php | 5 | |
45 | pre_get_scheduled_eventwp-includes/cron.php | 5 | |
46 | register_meta_argswp-includes/meta.php | 5 | |
47 | theme_file_pathwp-includes/global-styles-and-settings.php | 5 | |
48 | get_post_statuswp-includes/post.php | 4 | |
49 | ngettextwp-includes/l10n.php | 4 | |
50 | stylesheet_directorywp-includes/theme.php | 4 | |
51 | user_trailingslashitwp-includes/link-template.php | 4 | |
52 | wp_resource_hintswp-includes/general-template.php | 4 | |
53 | _get_page_linkwp-includes/link-template.php | 3 | |
54 | content_paginationwp-includes/class-wp-query.php | 3 | |
55 | get_page_uriwp-includes/post.php | 3 | |
56 | is_post_status_viewablewp-includes/post.php | 3 | |
57 | nonce_lifewp-includes/pluggable.php | 3 | |
58 | nonce_user_logged_outwp-includes/pluggable.php | 3 | |
59 | page_linkwp-includes/link-template.php | 3 | |
60 | post_password_requiredwp-includes/post-template.php | 3 | |
61 | saltwp-includes/pluggable.php | 3 | |
62 | show_admin_barwp-includes/admin-bar.php | 3 | 管理者用のツールバーの表示非表示を返す。 |
63 | sidebars_widgetswp-includes/widgets.php | 3 | |
64 | templatewp-includes/theme.php | 3 | |
65 | template_directorywp-includes/theme.php | 3 | |
66 | wp_should_replace_insecure_home_urlwp-includes/https-migration.php | 3 | |
67 | block_parser_classwp-includes/blocks.php | 2 | |
68 | content_urlwp-includes/link-template.php | 2 | |
69 | print_scripts_arraywp-includes/class-wp-scripts.php | 2 | |
70 | print_styles_arraywp-includes/class-wp-styles.php | 2 | |
71 | rest_urlwp-includes/rest-api.php | 2 | |
72 | single_post_titlewp-includes/general-template.php | 2 | |
73 | styles_inline_size_limitwp-includes/script-loader.php | 2 | |
74 | stylesheet_directory_uriwp-includes/theme.php | 2 | |
75 | the_contentwp-includes/blocks/post-content.php | 2 | |
76 | theme_root_uriwp-includes/theme.php | 2 | |
77 | wp_parse_strwp-includes/formatting.php | 2 | |
78 | wp_theme_json_data_blockswp-includes/class-wp-theme-json-resolver.php | 2 | |
79 | wp_theme_json_data_defaultwp-includes/class-wp-theme-json-resolver.php | 2 | |
80 | wp_theme_json_data_themewp-includes/class-wp-theme-json-resolver.php | 2 | |
81 | wp_theme_json_data_userwp-includes/class-wp-theme-json-resolver.php | 2 | |
82 | wp_theme_json_get_style_nodeswp-includes/class-wp-theme-json.php | 2 | |
83 | wp_using_themeswp-includes/load.php | 2 | |
85 | bloginfo_urlwp-includes/general-template.php | 1 | |
86 | determine_current_userwp-includes/user.php | 1 | |
87 | determine_localewp-includes/l10n.php | 1 | |
88 | do_parse_requestwp-includes/class-wp.php | 1 | |
89 | do_shortcode_tagwp-includes/shortcodes.php | 1 | |
90 | dynamic_sidebar_has_widgetswp-includes/widgets.php | 1 | |
91 | excerpt_allowed_blockswp-includes/blocks.php | 1 | |
92 | excerpt_allowed_wrapper_blockswp-includes/blocks.php | 1 | |
93 | excerpt_lengthwp-includes/blocks/latest-posts.php | 1 | |
94 | excerpt_morewp-includes/formatting.php | 1 | |
95 | extra_theme_headerswp-includes/deprecated.php | 1 | |
96 | feed_links_extra_argswp-includes/general-template.php | 1 | |
97 | feed_links_extra_show_post_comments_feedwp-includes/general-template.php | 1 | |
98 | feed_links_show_comments_feedwp-includes/general-template.php | 1 | |
99 | get_canonical_urlwp-includes/link-template.php | 1 | |
100 | get_site_icon_urlwp-includes/general-template.php | 1 | |
101 | get_the_excerptwp-includes/post-template.php | 1 | |
102 | has_post_thumbnailwp-includes/post-thumbnail-template.php | 1 | |
103 | heartbeat_settingswp-includes/script-loader.php | 1 | |
104 | is_active_sidebarwp-includes/widgets.php | 1 | |
105 | js_escapewp-includes/formatting.php | 1 | |
106 | language_attributeswp-includes/general-template.php | 1 | |
107 | locale_stylesheet_uriwp-includes/theme.php | 1 | |
108 | mejs_settingswp-includes/script-loader.php | 1 | |
109 | page_template_hierarchywp-includes/block-template-utils.php | 1 | |
110 | pings_openwp-includes/comment-template.php | 1 | |
111 | post_format_rewrite_basewp-includes/taxonomy.php | 1 | |
112 | post_thumbnail_idwp-includes/post-thumbnail-template.php | 1 | |
113 | pre_determine_localewp-includes/l10n.php | 1 | |
114 | pre_do_shortcode_tagwp-includes/shortcodes.php | 1 | |
115 | pre_get_ready_cron_jobswp-includes/cron.php | 1 | |
116 | pre_handle_404wp-includes/class-wp.php | 1 | |
117 | print_footer_scriptswp-includes/script-loader.php | 1 | |
118 | print_head_scriptswp-includes/script-loader.php | 1 | |
119 | print_late_styleswp-includes/script-loader.php | 1 | |
120 | query_varswp-includes/class-wp.php | 1 | |
121 | requestwp-includes/class-wp.php | 1 | |
122 | run_wptexturizewp-includes/formatting.php | 1 | |
123 | smilieswp-includes/functions.php | 1 | |
124 | split_the_querywp-includes/class-wp-query.php | 1 | |
125 | status_headerwp-includes/functions.php | 1 | |
126 | stylesheet_uriwp-includes/theme.php | 1 | |
127 | template_includewp-includes/template-loader.php | 1 | |
128 | the_titlewp-admin/includes/class-walker-nav-menu-checklist.php | 1 | 投稿タイトル、投稿IDから投稿タイトルを返す。 |
129 | wp_allow_query_attachment_by_filenamewp-includes/class-wp-query.php | 1 | |
130 | wp_audio_shortcode_librarywp-includes/media.php | 1 | |
131 | wp_cache_themes_persistentlywp-includes/theme.php | 1 | |
132 | wp_datewp-includes/functions.php | 1 | |
133 | wp_get_custom_csswp-includes/theme.php | 1 | |
134 | wp_headerswp-includes/class-wp.php | 1 | |
135 | wp_img_tag_add_auto_sizeswp-includes/media.php | 1 | |
136 | wp_is_application_passwords_availablewp-includes/user.php | 1 | |
137 | wp_lazy_loading_enabledwp-includes/media.php | 1 | |
138 | wp_preload_resourceswp-includes/general-template.php | 1 | |
139 | wp_robotswp-includes/robots-template.php | 1 | |
140 | wp_sitemaps_enabledwp-includes/sitemaps/class-wp-sitemaps.php | 1 | |
141 | wp_sitemaps_stylesheet_index_urlwp-includes/sitemaps/class-wp-sitemaps-renderer.php | 1 | |
142 | wp_sitemaps_stylesheet_urlwp-includes/sitemaps/class-wp-sitemaps-renderer.php | 1 | |
143 | wp_spaces_regexpwp-includes/formatting.php | 1 | |
144 | wp_titlewp-includes/general-template.php | 1 | |
145 | wp_title_partswp-includes/general-template.php | 1 | |
146 | wp_trim_excerptwp-includes/formatting.php | 1 | |
147 | wp_trim_wordswp-includes/formatting.php | 1 | |
148 | wp_video_extensionswp-includes/media.php | 1 | |
149 | wp_video_shortcode_librarywp-includes/media.php | 1 |