s frontend. * * @return bool */ private function is_front() { return ! is_admin() && ! is_preview(); } /** * Sort admin bar items callback. * * @param array $item1 Item A to compare. * @param array $item2 Item B to compare. * * @return integer */ private function sort_by_priority( $item1, $item2 ) { if ( $item1['priority'] === $item2['priority'] ) { return $item1['order'] < $item2['order'] ? -1 : 1; } return $item1['priority'] < $item2['priority'] ? -1 : 1; } /** * Get Rank Math icon. * * @param integer $width Width of the icon. * * @return string */ private function get_icon( $width = 20 ) { return ''; } }