? array : mixed) */ public function action_links( $links ) { if ( ! \is_array( $links ) ) { return $links; } $slug = sprintf( 'edit.php?post_type=%s&page=stories-dashboard#/editor-settings', Story_Post_Type::POST_TYPE_SLUG ); $url = get_admin_url( null, $slug ); $links[] = sprintf( '%s', esc_url( $url ), esc_html__( 'Settings', 'web-stories' ) ); return $links; } }