public function _add_localize_script() {
		$handle = get_template();
		if ( ! wp_script_is( get_template() ) && wp_script_is( get_stylesheet() ) ) {
			$handle = get_stylesheet();
		}
		$handle = apply_filters( 'inc2734_wp_share_buttons_localize_script_handle', $handle );

		wp_localize_script(
			$handle,
			'inc2734_wp_share_buttons_' . $this->service_name,
			[
				'endpoint'    => admin_url( 'admin-ajax.php' ),
				'action'      => 'inc2734_wp_share_buttons_' . $this->service_name,
				'_ajax_nonce' => wp_create_nonce( $this->_get_nonce_key() ),
			]
		);
	}