开发者 |
miyauchi
megumithemes tekapo inc2734 toro_unit |
---|---|
更新时间 | 2015年4月26日 21:07 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 4.2 |
版权: | GPLv2 |
版权网址: | 版权信息 |
$hooks = array( "home_url", "site_url", "stylesheet_directory_uri", "template_directory_uri", "plugins_url", "wp_get_attachment_url", "theme_mod_header_image", "theme_mod_background_image", "the_content", "upload_dir", "widget_text", );
Those hooks also have their own filter hooks, so you can customize with other plugins you are using, etc.
add_filter('dynamic_hostname_filters' function($hooks){ $hooks[] = 'some_filter_hook'; return $hooks; });
/dynamic-hostname
directory to the /wp-content/plugins/
directory.