[ Root ] [ Search ] [ Index ]

PHP Cross Reference of WordPress 3.0.1

Provided by Yoast

title

Body

[close]

/wp-admin/includes/ -> deprecated.php (summary)

Deprecated admin functions from past WordPress versions. You shouldn't use these functions and look for the alternatives instead. The functions will be removed in a later version.

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

Defines 11 functions

  tinymce_include()
  documentation_link()
  wp_shrink_dimensions()
  dropdown_categories()
  dropdown_link_categories()
  wp_dropdown_cats()
  add_option_update_handler()
  remove_option_update_handler()
  codepress_get_lang()
  codepress_footer_js()
  use_codepress()

Functions
Functions that are not part of a class:

tinymce_include()   X-Ref


documentation_link()   X-Ref
Unused Admin function.


wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 )   X-Ref
Calculates the new dimentions for a downsampled image.

param: int $width Current width of the image
param: int $height Current height of the image
param: int $wmax Maximum wanted width
param: int $hmax Maximum wanted height
return: mixed Array(height,width) of shrunk dimensions.

dropdown_categories( $default = 0, $parent = 0, $popular_ids = array()   X-Ref
{@internal Missing Short Description}}

param: unknown_type $default
param: unknown_type $parent
param: unknown_type $popular_ids

dropdown_link_categories( $default = 0 )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $default

wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $currentcat
param: unknown_type $currentparent
param: unknown_type $parent
param: unknown_type $level
param: unknown_type $categories
return: unknown

add_option_update_handler( $option_group, $option_name, $sanitize_callback = '' )   X-Ref
Register a setting and its sanitization callback

param: string $option_group A settings group name.  Should correspond to a whitelisted option key name.
param: string $option_name The name of an option to sanitize and save.
param: unknown_type $sanitize_callback A callback function that sanitizes the option's value.
return: unknown

remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' )   X-Ref
Unregister a setting

param: unknown_type $option_group
param: unknown_type $option_name
param: unknown_type $sanitize_callback
return: unknown

codepress_get_lang( $filename )   X-Ref
Determines the language to use for CodePress syntax highlighting.

param: string $filename

codepress_footer_js()   X-Ref
Adds Javascript required to make CodePress work on the theme/plugin editors.


use_codepress()   X-Ref
Determine whether to use CodePress.




Generated: Thu Oct 14 05:12:05 2010 Cross-referenced by PHPXref 0.7