[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/ -> bp-core-widgets.php (source)

   1  <?php
   2  /**
   3   * BuddyPress Core Component Widgets.
   4   *
   5   * @package BuddyPress
   6   * @subpackage Core
   7   * @since 1.0.0
   8   */
   9  
  10  // Exit if accessed directly.
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  /**
  14   * Register bp-core widgets.
  15   *
  16   * @since 1.0.0
  17   */
  18  function bp_core_register_widgets() {
  19      add_action( 'widgets_init', function() { register_widget( 'BP_Core_Login_Widget' ); } );
  20  }
  21  add_action( 'bp_register_widgets', 'bp_core_register_widgets' );


Generated: Sun Nov 29 01:01:38 2020 Cross-referenced by PHPXref 0.7.1