ネクストベータ代表Blog

WEBシステム SI屋の代表のブログです。

*

ソースコードの読み方 準備

   

get_included_files()関数を使います。
PHPマニュアルに載っているサンプルコードです。

これをwordpressのfooter.php の適当な場所へセットします。

ページの末にincludeされたファイルが読み込まれた順に表示されます。

ws213

/blog/index.php

/blog/wp-blog-header.php
/blog/wp-load.php
/blog/wp-config.php
/blog/wp-settings.php
/blog/wp-includes/load.php
/blog/wp-includes/default-constants.php
/blog/wp-includes/version.php
/blog/wp-includes/compat.php
/blog/wp-includes/functions.php
/blog/wp-includes/option.php
/blog/wp-includes/class-wp.php
/blog/wp-includes/class-wp-error.php
/blog/wp-includes/plugin.php
/blog/wp-includes/pomo/mo.php
/blog/wp-includes/pomo/translations.php
/blog/wp-includes/pomo/entry.php
/blog/wp-includes/pomo/streams.php
/blog/wp-includes/wp-db.php
/blog/wp-includes/cache.php
/blog/wp-includes/default-filters.php
/blog/wp-includes/l10n.php
/blog/wp-includes/class-wp-walker.php
/blog/wp-includes/class-wp-ajax-response.php
/blog/wp-includes/formatting.php
/blog/wp-includes/capabilities.php
/blog/wp-includes/query.php
/blog/wp-includes/date.php
/blog/wp-includes/theme.php
/blog/wp-includes/class-wp-theme.php
/blog/wp-includes/template.php
/blog/wp-includes/user.php
/blog/wp-includes/session.php
/blog/wp-includes/meta.php
/blog/wp-includes/general-template.php
/blog/wp-includes/link-template.php
/blog/wp-includes/author-template.php
/blog/wp-includes/post.php
/blog/wp-includes/post-template.php
/blog/wp-includes/revision.php
/blog/wp-includes/post-formats.php
/blog/wp-includes/post-thumbnail-template.php
/blog/wp-includes/category.php
/blog/wp-includes/category-template.php
/blog/wp-includes/comment.php
/blog/wp-includes/comment-template.php
/blog/wp-includes/rewrite.php
/blog/wp-includes/feed.php
/blog/wp-includes/bookmark.php
/blog/wp-includes/bookmark-template.php
/blog/wp-includes/kses.php
/blog/wp-includes/cron.php
/blog/wp-includes/deprecated.php
/blog/wp-includes/script-loader.php
/blog/wp-includes/class.wp-dependencies.php
/blog/wp-includes/class.wp-scripts.php
/blog/wp-includes/functions.wp-scripts.php
/blog/wp-includes/class.wp-styles.php
/blog/wp-includes/functions.wp-styles.php
/blog/wp-includes/taxonomy.php
/blog/wp-includes/update.php
/blog/wp-includes/canonical.php
/blog/wp-includes/shortcodes.php
/blog/wp-includes/class-wp-embed.php
/blog/wp-includes/media.php
/blog/wp-includes/http.php
/blog/wp-includes/class-http.php
/blog/wp-includes/widgets.php
/blog/wp-includes/nav-menu.php
/blog/wp-includes/nav-menu-template.php
/blog/wp-includes/admin-bar.php
/blog/wp-includes/vars.php
/blog/wp-content/plugins/akismet/akismet.php
/blog/wp-content/plugins/akismet/class.akismet.php
/blog/wp-content/plugins/akismet/class.akismet-widget.php
/blog/wp-content/plugins/akismet/wrapper.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/global.php
/blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_timer.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_log.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_parser.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_resource.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_themes.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_fonts.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/util/tag-editor/crayon_tag_editor_wp.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php
/blog/wp-content/plugins/crayon-syntax-highlighter/util/theme-editor/theme_editor.php
/blog/wp-admin/includes/plugin.php
/blog/wp-content/plugins/wp-multibyte-patch/wp-multibyte-patch.php
/blog/wp-content/plugins/wp-multibyte-patch/ext/ja/class.php
/blog/wp-includes/pluggable.php
/blog/wp-includes/pluggable-deprecated.php
/blog/wp-includes/default-widgets.php
/blog/wp-includes/locale.php
/blog/wp-content/themes/twentytwelve/functions.php
/blog/wp-content/themes/twentytwelve/inc/custom-header.php
/blog/wp-includes/template-loader.php
/blog/wp-includes/class-wp-admin-bar.php
/blog/wp-content/themes/twentytwelve/single.php
/blog/wp-content/themes/twentytwelve/header.php
/blog/wp-content/themes/twentytwelve/content.php
/blog/wp-content/themes/twentytwelve/comments.php
/blog/wp-content/themes/twentytwelve/sidebar.php
/blog/wp-content/themes/twentytwelve/footer.php

 

 

これらのファイルをひとつづつ読んでいくことにします。

 

 

 - Wordpress