February 10, 2020

Custom plugin Auto Updater Icon for WordPress Auto updates

icons for updater: --------------------------------   [php] code if ( is_object( $response ) && ! empty( $response ) ) { // Feed the update data into WP updater $response->icons = Array( '2x' => esc_url( CUSTOM_PLUGIN__PATH_URL . '/assets/icon-256x256.png' ), '1x' => esc_url( Function CUSTOM_PLUGIN__PATH_URL . '/assets/icon-128x128.png' ) ); $transient->response[ $this->plugin_path ] = $response;</code> return $transient; } [/php]  ...