| @@ -72,8 +72,9 @@ | ||
| 72 | 72 | } |
| 73 | 73 | return '<p class="nx-shortcode-notice">' . __( 'Make sure you have enabled the notification which ID you have given.', 'notificationx' ) . '</p>'; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Reviewed for the NotificationX codebase: acceptable in this context. | |
| 76 | 77 | do_action( 'nx_inline' ); |
| 77 | 78 | $settings = PostType::get_instance()->get_post($nx_id); |
| 78 | 79 | if( $settings['type'] == 'inline' || $settings['source'] == 'woocommerce_sales_inline' ){ |
| 79 | 80 | $settings['shortcodeinline'] = true; |