| [ Index ] |
PHP Cross Reference of Wordpress 2.9.1 |
[Source view] [Print] [Project Stats]
Misc WordPress Administration API.
| File Size: | 642 lines (18 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| got_mod_rewrite() X-Ref |
| {@internal Missing Short Description}} return: unknown |
| extract_from_markers( $filename, $marker ) X-Ref |
| {@internal Missing Short Description}} param: unknown_type $filename param: unknown_type $marker return: array An array of strings from a file (.htaccess ) from between BEGIN and END markers. |
| insert_with_markers( $filename, $marker, $insertion ) X-Ref |
| {@internal Missing Short Description}} Inserts an array of strings into a file (.htaccess ), placing it between BEGIN and END markers. Replaces existing marked info. Retains surrounding data. Creates file if none exists. param: unknown_type $filename param: unknown_type $marker param: unknown_type $insertion return: bool True on write success, false on failure. |
| save_mod_rewrite_rules() X-Ref |
| Updates the htaccess file with the current rules if it is writable. Always writes to the file if it exists and is writable to ensure that we blank out old rules. |
| iis7_save_url_rewrite_rules() X-Ref |
| Updates the IIS web.config file with the current rules if it is writable. If the permalinks do not require rewrite rules then the rules are deleted from the web.config file. return: bool True if web.config was updated successfully |
| update_recently_edited( $file ) X-Ref |
| {@internal Missing Short Description}} param: unknown_type $file |
| update_home_siteurl( $old_value, $value ) X-Ref |
| If siteurl or home changed, flush rewrite rules. param: unknown_type $old_value param: unknown_type $value |
| url_shorten( $url ) X-Ref |
| {@internal Missing Short Description}} param: unknown_type $url return: unknown |
| wp_reset_vars( $vars ) X-Ref |
| {@internal Missing Short Description}} param: unknown_type $vars |
| show_message($message) X-Ref |
| {@internal Missing Short Description}} param: unknown_type $message |
| wp_doc_link_parse( $content ) X-Ref |
| No description |
| codepress_get_lang( $filename ) X-Ref |
| Determines the language to use for CodePress syntax highlighting, based only on a filename. param: string $filename The name of the file to be highlighting |
| codepress_footer_js() X-Ref |
| Adds Javascript required to make CodePress work on the theme/plugin editors. This code is attached to the action admin_print_footer_scripts. |
| use_codepress() X-Ref |
| Determine whether to use CodePress or not. |
| set_screen_options() X-Ref |
| Saves option for number of rows when listing posts, pages, comments, etc. |
| wp_menu_unfold() X-Ref |
| No description |
| iis7_supports_permalinks() X-Ref |
| Check if IIS 7 supports pretty permalinks return: bool |
| iis7_rewrite_rule_exists($filename) X-Ref |
| Check if rewrite rule for WordPress already exists in the IIS 7 configuration file param: string $filename The file path to the configuration file return: bool |
| iis7_delete_rewrite_rule($filename) X-Ref |
| Delete WordPress rewrite rule from web.config file if it exists there param: string $filename Name of the configuration file return: bool |
| iis7_add_rewrite_rule($filename, $rewrite_rule) X-Ref |
| Add WordPress rewrite rule to the IIS 7 configuration file. param: string $filename The file path to the configuration file param: string $rewrite_rule The XML fragment with URL Rewrite rule return: bool |
| saveDomDocument($doc, $filename) X-Ref |
| Saves the XML document into a file param: DOMDocument $doc param: string $filename |
| win_is_writable($path) X-Ref |
| Workaround for Windows bug in is_writable() function param: object $path return: bool |
| Generated: Fri Jan 8 00:19:48 2010 | Cross-referenced by PHPXref 0.7 |