@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | * @access public |
| 312 | 312 | * @since 1.5.0 |
| 313 | 313 | * @static |
| 314 | - * @return string|boolean |
|
| 314 | + * @return string|false |
|
| 315 | 315 | */ |
| 316 | 316 | public static function is_alnp_using_customizer() { |
| 317 | 317 | if ( is_customize_preview() ) { |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | * @param string $name The ID to register with WordPress. |
| 332 | 332 | * @param string $file_path The path to the actual file. |
| 333 | 333 | * @param bool $is_script Optional, argument for if the incoming file_path is a JavaScript source file. |
| 334 | - * @param array $support Optional, for requiring other javascripts for the source file you are calling. |
|
| 334 | + * @param string[] $support Optional, for requiring other javascripts for the source file you are calling. |
|
| 335 | 335 | * @param string $version Optional, can match the version of the plugin or version of the source file. |
| 336 | 336 | * @param bool $footer Optional, can set the JavaScript to load in the footer instead. |
| 337 | 337 | * @global string $wp_version |
@@ -118,6 +118,10 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * @since 1.0 |
| 120 | 120 | */ |
| 121 | + |
|
| 122 | + /** |
|
| 123 | + * @param string $button_classes |
|
| 124 | + */ |
|
| 121 | 125 | public static function render_template($plugin, $api, $button_text, $button_classes){ |
| 122 | 126 | ?> |
| 123 | 127 | <div class="plugin"> |