[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/ -> bp-core-cssjs.php (summary)

Core component CSS & JS.

File Size: 584 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  bp_core_register_common_scripts()
  bp_core_register_common_styles()
  bp_core_confirmation_js()
  bp_core_avatar_scripts()
  bp_core_cover_image_scripts()
  bp_core_add_jquery_cropper()
  bp_core_add_cropper_inline_js()
  updateCoords()
  showPreview()
  bp_core_add_cropper_inline_css()
  bp_core_add_ajax_url_js()
  bp_core_ajax_url()
  bp_core_get_js_dependencies()
  bp_add_cover_image_inline_css()
  bp_core_add_livestamp()
  bp_core_enqueue_livestamp()
  bp_core_moment_js_config()

Functions
Functions that are not part of a class:

bp_core_register_common_scripts()   X-Ref
Register scripts commonly used by BuddyPress.

since: 2.1.0

bp_core_register_common_styles()   X-Ref
Register styles commonly used by BuddyPress.

since: 2.1.0

bp_core_confirmation_js()   X-Ref
Load the JS for "Are you sure?" confirm links.

since: 1.1.0

bp_core_avatar_scripts()   X-Ref
Enqueues the css and js required by the Avatar UI.

since: 2.3.0

bp_core_cover_image_scripts()   X-Ref
Enqueues the css and js required by the Cover Image UI.

since: 2.4.0

bp_core_add_jquery_cropper()   X-Ref
Enqueues jCrop library and hooks BP's custom cropper JS.

since: 1.1.0

bp_core_add_cropper_inline_js()   X-Ref
Output the inline JS needed for the cropper to work on a per-page basis.

since: 1.1.0

updateCoords(c)   X-Ref
No description

showPreview(coords)   X-Ref
No description

bp_core_add_cropper_inline_css()   X-Ref
Output the inline CSS for the BP image cropper.

since: 1.1.0

bp_core_add_ajax_url_js()   X-Ref
Define the 'ajaxurl' JS variable, used by themes as an AJAX endpoint.

since: 1.1.0

bp_core_ajax_url()   X-Ref
Get the proper value for BP's ajaxurl.

Designed to be sensitive to FORCE_SSL_ADMIN and non-standard multisite
configurations.

since: 1.7.0
return: string AJAX endpoint URL.

bp_core_get_js_dependencies()   X-Ref
Get the JavaScript dependencies for buddypress.js.

since: 2.0.0
return: array The JavaScript dependencies.

bp_add_cover_image_inline_css( $return = false )   X-Ref
Add inline css to display the component's single item cover image.

param: bool $return True to get the inline css.
since: 2.4.0
return: null|array|false The inline css or an associative array containing

bp_core_add_livestamp()   X-Ref
Enqueues livestamp.js on BuddyPress pages.

since: 2.7.0

bp_core_enqueue_livestamp()   X-Ref
Enqueue and localize livestamp.js script.

since: 2.7.0

bp_core_moment_js_config()   X-Ref
Return moment.js config.

since: 2.7.0
return: string



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1