[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/js/ -> site-icon.js (summary)

Handle the site icon setting in options-general.php.

File Size: 242 lines (6 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 2 functions

  calculateImageSelectOptions()
  switchToUpdate()

Functions
Functions that are not part of a class:

calculateImageSelectOptions( attachment )   X-Ref
Calculate image selection options based on the attachment dimensions.

param: {Object} attachment The attachment object representing the image.
return: {Object} The image selection options.

switchToUpdate( attributes )   X-Ref
Update the UI when a site icon is selected.

param: {array} attributes The attributes for the attachment.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref