filter( 'site_transient_update_plugins', 'transient_update_plugins' ); $this->action( 'in_plugin_update_message-seo-by-rank-math/rank-math.php', 'plugin_update_message', 10, 2 ); $this->action( 'install_plugins_pre_plugin-information', 'beta_plugin_information' ); $this->action( 'admin_footer', 'beta_changelog_link_js' ); } /** * Replace plugin info popup for beta versions. */ public function beta_plugin_information() { if ( 'seo-by-rank-math' !== Param::request( 'plugin' ) ) { return; } $transient = get_site_transient( 'update_plugins' ); if ( self::has_beta_update( $transient ) ) { // No-js fallback. echo '