searchwp\missing_integration_notices
4.0.0以降
デフォルトでは、SearchWPは統合拡張機能が見つからない場合にチェックします。このフックでその動作を無効にすることができます。
パラメータ
| タイプ | パラメータ | デフォルト | 提供開始 |
|---|---|---|---|
| ブール値 | $enabled |
true |
4.0.0 |
例
すべてのフックはカスタムのSearchWP カスタマイズプラグインに追加する必要があります。
統合が見つからない通知を無効にする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Disable missing integrations notice in SearchWP. | |
| add_filter( 'searchwp\missing_integration_notices', '__return_false' ); |

