removeApplyParamsButton(); } function name() { return __( 'PostX Templates', 'ultimate-post' ); } function slug() { return 'postx-templates'; } function icon() { return ULTP_URL . 'addons/oxygen/icon.svg'; } function button_place() { // return "interactive"; } function button_priority() { return 9; } function render( $options, $defaults, $content ) { $templates = $options['templates']; if ( $templates ) { if ( isset( $_GET['action'] ) && strpos( sanitize_key( $_GET['action'] ), 'oxy_render_oxy' ) !== false ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only Oxygen editor detection. echo ultimate_post()->build_css_for_inline_print( $templates, true ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped --