{"id":12,"date":"2012-02-05T05:05:09","date_gmt":"2012-02-05T05:05:09","guid":{"rendered":"http:\/\/codex.bbpress.org\/?page_id=12"},"modified":"2013-05-03T15:17:49","modified_gmt":"2013-05-03T15:17:49","slug":"bbp_loaded","status":"publish","type":"page","link":"https:\/\/codex.bbpress.org\/bbp_loaded\/","title":{"rendered":"bbp_loaded"},"content":{"rendered":"<p>The &#8216;bbp_loaded&#8217; action is hooked onto WordPress&#8217;s &#8216;plugins_loaded&#8217; action with default priority 10 in:<\/p>\n<pre>\/includes\/core\/actions.php<\/pre>\n<p>It&#8217;s one of several &#8216;piggy-back&#8217; actions intended to help load code only when bbPress is active. It&#8217;s used to execute code early in the WordPress load order. <\/p>\n<h2>How it&#039;s hooked<\/h2>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">add_action( 'plugins_loaded', 'bbp_loaded', 10 );<\/pre>\n<h2>Where it&#039;s used<\/h2>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">add_action( 'bbp_loaded', 'bbp_constants',                 2  );\r\nadd_action( 'bbp_loaded', 'bbp_boot_strap_globals',        4  );\r\nadd_action( 'bbp_loaded', 'bbp_includes',                  6  );\r\nadd_action( 'bbp_loaded', 'bbp_setup_globals',             8  );\r\nadd_action( 'bbp_loaded', 'bbp_setup_option_filters',      10 );\r\nadd_action( 'bbp_loaded', 'bbp_setup_user_option_filters', 12 );\r\nadd_action( 'bbp_loaded', 'bbp_register_theme_packages',   14 );\r\nadd_action( 'bbp_loaded', 'bbp_filter_user_roles_option',  16 );<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The &#8216;bbp_loaded&#8217; action is hooked onto WordPress&#8217;s &#8216;plugins_loaded&#8217; action with default priority 10 in: \/includes\/core\/actions.php It&#8217;s one of several &#8216;piggy-back&#8217; actions intended to help load code only when bbPress is active. It&#8217;s used to execute code early in the WordPress load order. How it&#039;s hooked add_action( &#8216;plugins_loaded&#8217;, &#8216;bbp_loaded&#8217;, 10 ); Where it&#039;s used add_action( &#8216;bbp_loaded&#8217;, [&hellip;]<\/p>\n","protected":false},"author":395440,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12","page","type-page","status-publish","hentry","version-2-0","version-2-1","component-core","type-actions"],"_links":{"self":[{"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/pages\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/users\/395440"}],"replies":[{"embeddable":true,"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":12,"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/pages\/12\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/pages\/12\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/codex.bbpress.org\/wp-json\/wp\/v2\/media?parent=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}