'widget-post-author', 'description' => esc_html__( 'Displays Author Details', 'blog-aarambha' ), ); parent::__construct( 'Blog_Aarambha_Author',esc_html__( 'Blog Aarambha:- Author Details', 'blog-aarambha' ), $widget_ops, $control_ops ); add_action( 'admin_enqueue_scripts', [$this ,'blog_aarambha_author_scripts'] ); } /** * Outputs the widget settings form. * * @since 1.0.0 * * @param array $instance Current settings. */ function form( $instance ) { // Defaults. $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'description' => '', 'category1' => '', 'category2' => '', 'image_url' => '', 'author_facebook' => '', 'author_twitter' => '', 'author_linkedin' => '', 'author_instagram' => '', 'author_pinterest' => '', 'author_youtube' => '', 'social_title' => '', ) ); $image_url = ''; $image_url = esc_url( $instance[ 'image_url' ] ); ?>



> <?php esc_attr_e( 'Preview', 'blog-aarambha' ); ?>