wpmdb_frontend_assets_path

wpmdb_frontend_assets_path

Hook Type: filter

See hook in core

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

apply_filters('wpmdb_frontend_assets_path') is found 1 times:

  • /class/Common/Plugin/Assets.php line 167
            $is_pro = defined("WPMDB_PRO") && WPMDB_PRO || $is_dev ? '-pro' : '';
    
            // @TODO update when Multisite enabled and free version ready
            if ($this->util->isMDBPage() && Util::is_wp_compatible()) {
                $assets_path = apply_filters('wpmdb_frontend_assets_path', WP_PLUGIN_DIR . '/wp-migrate-db' . $is_pro . '/frontend');
                \ReactWPScripts\enqueue_assets(
                    $assets_path,
                    [
                        'base_url' => plugins_url('wp-migrate-db' . $is_pro . '/frontend'),
                        'key'      => 'mdb',
                    ]