parameter = array( 'url' => get_bloginfo( 'url' ), ); $this->title = $prefix . __( 'SEO', 'wp-piwik' ); $this->method = 'SEO.getRank'; } public function show() { $response = self::$wp_piwik->request( $this->api_id[ $this->method ] ); if ( ! empty( $response['result'] ) && 'error' === $response['result'] ) { echo '' . esc_html__( 'Piwik error', 'wp-piwik' ) . ': ' . esc_html( $response['message'] ); } else { echo '
| ' . ( isset( $val['logo_link'] ) && ! empty( $val['logo_link'] ) ? '' . esc_html( $val['label'] ) . '' : esc_html( $val['label'] ) ) . ' | ' . esc_html( $val['rank'] ) . ' |
| SEO module currently not available. |