[ 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: 236 lines (6 kb)
Included or required:0 times
Referenced: 0 times
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.

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

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

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



Generated : Sun Apr 28 08:20:02 2024 Cross-referenced by PHPXref