开发者 | szepe.viktor |
---|---|
更新时间 | 2018年10月6日 17:15 |
捐献地址: | 去捐款 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 |
tiny-cdn.php
to the /wp-content/plugins/
directoryHook into these filters before template_redirect
time.
// Disable rewriting
add_filter( 'tiny_cdn_disable', '__return_true' );
// Don't rewrite for these users
add_filter( 'tiny_cdn_capability', function () { return 'edit_pages'; } );
// This is a regular expression to exclude single files
add_filter( 'tiny_cdn_excludes', function () { return '#.php#'; } );
wpseo_xml_sitemap_img_src
filter