This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
programmieren:wordpress:plugin_updates_unterbinden [2019/08/19 16:23] – created jgehrke | programmieren:wordpress:plugin_updates_unterbinden [2023/01/25 12:06] (current) – jgehrke | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code php> | <code php> | ||
- | /* | + | /** |
- | | + | |
*/ | */ | ||
- | function | + | function |
- | + | if( is_object( $value | |
- | $theme_object = wp_get_theme(); | + | unset( |
- | $version | + | unset( $value-> |
- | + | } | |
- | wp_enqueue_style( | + | return |
} | } | ||
- | add_action( 'wp_enqueue_scripts', 'lh_theme_styles' ); | + | add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' ); |
</ | </ | ||
- | Hinweis: Man sollte eine Meldung einbauen, damit der Nutzer | + | Hinweis: Man sollte eine Meldung einbauen, damit der Nutzer |
<code php> | <code php> |