Use the 'ppcp.path-to-plugin-main-file' config

This commit is contained in:
Narek Zakarian 2025-07-04 19:27:13 +04:00
parent 235a9f45cf
commit 943a0d197c
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7
21 changed files with 24 additions and 23 deletions

View file

@ -220,6 +220,6 @@ return array(
},
'webhook.module-url' => static function ( ContainerInterface $container ): string {
return plugins_url( '/modules/ppcp-webhooks/', $container->get( 'ppcp.plugin-path' ) );
return plugins_url( '/modules/ppcp-webhooks/', $container->get( 'ppcp.path-to-plugin-main-file' ) );
},
);