# sendwp/1.1/includes/activation.php

SendWP, version 1.1. 7 lines.

- Page: https://pluginprobe.com/plugins/sendwp/1.1/code/includes/activation.php
- Raw: https://pluginprobe.com/plugins/sendwp/1.1/raw/includes/activation.php
- Modified: 2019-11-22T15:03:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sendwp/1.1/code/includes/activation.php#L10-L20`.

```php
<?php

register_activation_hook(plugin_dir_path(__DIR__) . 'sendwp.php', function () {
    if (! sendwp_get_client_secret()) {
        sendwp_set_client_secret(sendwp_generate_secret());
    }
});
```
