|string $atts Shortcode attributes. * @return string */ public function render( $atts ) { $atts = shortcode_atts( array( 'all_url' => '', 'limit' => 20, ), $atts, self::SHORTCODE ); return ForWP_Notifications_Bell_Renderer::render( array( 'all_url' => (string) $atts['all_url'], 'limit' => (int) $atts['limit'], ) ); } /** * Backward-compatible alias for list item icons. * * @param string $source Notification source slug. * @return string */ public static function get_item_icon_class( $source ) { return ForWP_Notifications_Bell_Renderer::get_item_icon_class( $source ); } }