Skip to content

Commit 8401d6c

Browse files
committed
Add hooks to license control
1 parent f45cc5f commit 8401d6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/license-control.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
if ( ! empty( $args['type'] ) && 'theme' === $args['type'] ) {
99
$name = wp_get_theme()->get( 'Name' );
1010
}
11+
do_action( "edd_sl_sdk_license_control_before_{$args['id']}", $args );
1112
?>
1213
<p>
1314
<?php
@@ -24,3 +25,6 @@
2425
$args['license']->get_actions( true );
2526
?>
2627
</div>
28+
29+
<?php
30+
do_action( "edd_sl_sdk_license_control_after_{$args['id']}", $args );

0 commit comments

Comments
 (0)