wpmdb_compatibility_enable_theme

wpmdb_compatibility_enable_theme

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_compatibility_enable_theme') is found 1 times:

  • /class/Common/Compatibility/Compatibility.php line 75
    	 *
    	 * @return string
    	 */
    	public function wpmdbc_disable_theme( $stylesheet_dir ) {
    		$force_enable_theme = apply_filters( 'wpmdb_compatibility_enable_theme', false );
    
    		if ( $this->wpmdbc_is_compatibility_mode_request() && ! $force_enable_theme ) {
    			$theme_dir  = realpath( dirname( __FILE__ ) . '/../Compatibility' );
    			$stylesheet = 'temp-theme';
    			$theme_root = "$theme_dir/$stylesheet";