- Timestamp:
- 03/18/2018 09:56:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress-functions.php
r11855 r11899 3 3 * Functions of BuddyPress's "Nouveau" template pack. 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 * 7 7 * @buddypress-template-pack { … … 30 30 * See @link BP_Theme_Compat() for more. 31 31 * 32 * @since 1.0.032 * @since 3.0.0 33 33 */ 34 34 class BP_Nouveau extends BP_Theme_Compat { … … 43 43 * Return the instance of this class. 44 44 * 45 * @since 1.0.045 * @since 3.0.0 46 46 */ 47 47 public static function get_instance() { … … 58 58 * The BP Nouveau constructor. 59 59 * 60 * @since 1.0.060 * @since 3.0.0 61 61 */ 62 62 public function __construct() { … … 73 73 * BP Nouveau global variables. 74 74 * 75 * @since 1.0.075 * @since 3.0.0 76 76 */ 77 77 protected function setup_globals() { … … 91 91 * Includes! 92 92 * 93 * @since 1.0.093 * @since 3.0.0 94 94 */ 95 95 protected function includes() { … … 133 133 * Setup the Template Pack features support. 134 134 * 135 * @since 1.0.0135 * @since 3.0.0 136 136 */ 137 137 protected function setup_support() { … … 163 163 * Setup the Template Pack common actions. 164 164 * 165 * @since 1.0.0165 * @since 3.0.0 166 166 */ 167 167 protected function setup_actions() { … … 210 210 * Fires after all of the BuddyPress theme compat actions have been added. 211 211 * 212 * @since 1.0.0212 * @since 3.0.0 213 213 * 214 214 * @param BP_Nouveau $this Current BP_Nouveau instance. … … 220 220 * Enqueue the template pack css files 221 221 * 222 * @since 1.0.0222 * @since 3.0.0 223 223 */ 224 224 public function enqueue_styles() { … … 276 276 * Register Template Pack JavaScript files 277 277 * 278 * @since 1.0.0278 * @since 3.0.0 279 279 */ 280 280 public function register_scripts() { … … 339 339 * Enqueue the required JavaScript files 340 340 * 341 * @since 1.0.0341 * @since 3.0.0 342 342 */ 343 343 public function enqueue_scripts() { … … 364 364 * The no-js class is removed by the JavaScript created in buddypress.js. 365 365 * 366 * @since 1.0.0366 * @since 3.0.0 367 367 * 368 368 * @param array $classes Array of classes to append to body tag. … … 379 379 * These localizations require information that may not be loaded even by init. 380 380 * 381 * @since 1.0.0381 * @since 3.0.0 382 382 */ 383 383 public function localize_scripts() { … … 462 462 * Filters core JavaScript strings for internationalization before AJAX usage. 463 463 * 464 * @since 1.0.0464 * @since 3.0.0 465 465 * 466 466 * @param array $value Array of key/value pairs for AJAX usage. … … 475 475 * @see https://buddypress.trac.wordpress.org/ticket/6065 476 476 * 477 * @since 1.0.0477 * @since 3.0.0 478 478 * 479 479 * @param array $templates Array of templates. … … 545 545 * Add our special 'buddypress' div wrapper to the theme compat template part. 546 546 * 547 * @since 1.0.0547 * @since 3.0.0 548 548 * 549 549 * @see bp_buffer_template_part() … … 569 569 * Define the directory nav items 570 570 * 571 * @since 1.0.0571 * @since 3.0.0 572 572 */ 573 573 public function setup_directory_nav() { … … 601 601 * We'll handle template notices from BP Nouveau. 602 602 * 603 * @since 1.0.0603 * @since 3.0.0 604 604 */ 605 605 public function neutralize_core_template_notices() { … … 610 610 * Set the BP Uri for the customizer in case of Ajax requests. 611 611 * 612 * @since 1.0.0612 * @since 3.0.0 613 613 * 614 614 * @param string $path the BP Uri. … … 639 639 * Get a unique instance of BP Nouveau 640 640 * 641 * @since 1.0.0641 * @since 3.0.0 642 642 * 643 643 * @return BP_Nouveau the main instance of the class
Note: See TracChangeset
for help on using the changeset viewer.