Multisite, but wp_kses_allowed_html only for one subsite?

Well, you could do it this way: if ( 101 === get_current_blog_id() ) { add_filter( ‘wp_kses_allowed_html’, allow_iframes_for_editor, 1 ); } (Note: edited to use the get_current_blog_id() ; see https://developer.wordpress.org/reference/functions/get_current_blog_id/ But you should consider Tom’s comment as a warning against doing this.

wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?

I have a fix, I am not happy with it but it works: I added define(‘FORCE_SSL_ADMIN’, true); to wp-config.php Then I changed this method is_ssl() in /wp-includes/load.php to this. I think to avoid this bug, the define(‘FORCE_SSL_ADMIN’, true); check should have be used by the developers. I added the line if( defined( FORCE_SSL_ADMIN ) ) … Read more

How to automatically compare date from custom post type with current date and change taxonomy based on a result?

This is pretty straight forward and easy to do with $wpdb and SQL statement the relationship between any post type (custom or not) and taxonomy term (custom or not ) are stored wp_term_relationships table which has object_id and term_id all you have to do is query the record that has the term_id for active1 term … Read more