If you network activate it, it will be on every site.
Hi, trying to use my own blacklist.txt file on a multiste, but doesn’t seem to pic up the file.
I’m using the following in theme/function file (added at top of file) that all network sites use, not using any caching — any thoughts?
add_filter( 'cblm_sources', 'rkv_cblm_replace_blacklist_sources' );
function rkv_cblm_replace_blacklist_sources( $list ) {
return array(
'http://my-domain-here.tld/blacklist.txt'
);
}
There is a ‘local blacklist’ field which can be used in conjunction with the list pulled from GitHub. I wonder if using the local blacklist on the main network site, applies to to all network sites?
Hi, I’ll try the local list option, but I don’t really want to pull the GitHub list at all.
Apologies, I was mistaken, the blacklist options are only available on each microsite
Nope, neither options seem to work! 🙁
I’ll hack the url in the plugin for now and see if that works!
AH! I am stupid 🙂
Permissions on .txt file were wrong!
All working, and custom blacklist now loads on all sites!