admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'socialsnap-admin' ), 'check_email' => esc_html__( 'Invalid email address. Please check.', 'socialsnap' ), 'thanks_email' => esc_html__( 'Thank you for subscribing!', 'socialsnap' ), 'error_email' => esc_html__( 'Something went wrong. Please try again later.', 'socialsnap' ), 'uploaded_file' => esc_html__( 'Uploaded File', 'socialsnap' ), ); wp_localize_script( 'socialsnap-page-js', 'socialsnap_admin', $strings ); } /** * Outputs the Social Snap admin header. * * @since 1.0.0 */ public function admin_header() { if ( ! isset( $_GET['page'] ) ) { return; } if ( 'socialsnap-' . $this->page_slug !== $_GET['page'] ) { return; } ?>
icons->get_svg( 'socialsnap-light' ); // phpcs:ignore ?>

' . __( 'Upgrade to PRO', 'socialsnap' ) . ''; $addons_button = ''; echo wp_kses( apply_filters( 'socialsnap_header_bar_button', $addons_button, 'socialsnap-addons' ), socialsnap_get_allowed_html_tags( 'post' ) ); ?>