get_alloptions_110 [ WordPress Function ]
get_alloptions_110 ( No parameters )
| Returns: |
|
| Defined at: |
|
Retrieve all options as it was for 1.2.
Source
<?php
function get_alloptions_110() {
global $wpdb;
$all_options = new stdClass;
if ( $options = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options" ) ) {
foreach ( $options as $option ) {
if ( 'siteurl' == $option->option_name || 'home' == $option->option_name || 'category_base' == $option->option_name )
$option->option_value = untrailingslashit( $option->option_value );
$all_options->{$option->option_name} = stripslashes( $option->option_value );
}
}
return $all_options;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Docs for page upgrade.php
get_alloptions_110 (line 1411). Retrieve all options as it was for 1.2. return: List of options. since: 1.2.0. array get_alloptions_110 (). install_global_terms (line ...
phpdoc.wordpress.org - #4915 (Deprecate get_alloptions()) – WordPress Trac
One has some filters, one has some caching. It'd be a strange plugin that used either. Can we deprecate one or the other? Also note get_alloptions_110().
core.trac.wordpress.org - PHPXRef 0.7 : WordPress : Detail view of upgrade.php
add_clean_index() maybe_add_column() get_alloptions_110() ...
phpxref.ftwr.co.uk - get_alloptions | A HitchHackers guide through WordPress
Feb 11, 2011... Functions by letter g · codex, get_alloptions, id742979e4af99a303d013b5e9a488ad7f · get_admin_users_for_domain · get_alloptions_110 ...
hitchhackerguide.com