[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/js/bp-core/js/block-assets/data/ -> controls.js (source)

   1  /**
   2   * WordPress dependencies.
   3   */
   4  const {
   5      apiFetch,
   6  } = wp;
   7  
   8  /**
   9   * Default export for registering the controls with the store.
  10   *
  11   * @return {Object} An object with the controls to register with the store on
  12   *                  the controls property of the registration object.
  13   */
  14  export const controls = {
  15      FETCH_FROM_API( { path, parse } ) {
  16          return apiFetch( { path, parse } );
  17      },
  18  };


Generated: Fri May 5 01:01:24 2023 Cross-referenced by PHPXref 0.7.1