Skip to content

Commit f4a1e25

Browse files
davidsherlockdavidsherlock
authored andcommitted
readme improvements
1 parent 1d9777f commit f4a1e25

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ The `register_inline_list_table` function allows for easy setup and configuratio
3535
table. Here's how to use it:
3636

3737
```php
38-
39-
40-
41-
// Example usage of register_table_post_type to create a 'Conditional Fee' custom post type.
38+
// Example usage of register_inline_table_post_type to create a 'Conditional Fee' custom post type.
4239
register_inline_table_post_type(
4340
'conditional_fee', // The key for the custom post type.
4441
__( 'Conditional Fee', 'text-domain' ), // The singular name of the custom post type for labels.
@@ -96,7 +93,7 @@ register_inline_list_table(
9693
'edd-settings' // Submenu file slug for submenu highlighting.
9794
);
9895

99-
// Registers a settings section for managing conditional fees within the product settings.
96+
// Registers a settings section for managing conditional fees within the extension settings.
10097
function register_section( array $sections ): array {
10198
$sections['conditional_fees'] = __( 'Conditional Fees', 'edd-conditional-fees' );
10299

@@ -105,7 +102,7 @@ function register_section( array $sections ): array {
105102

106103
add_filter( 'edd_settings_sections_extensions', __NAMESPACE__ . '\\register_section' );
107104

108-
// Adds settings for the 'Conditional Fees' section within the product settings, enabling the configuration of rules.
105+
// Adds settings for the 'Conditional Fees' section within the extension settings, enabling the configuration of rules.
109106
function register_settings( array $existing_settings ): array {
110107
return array_merge( $existing_settings, [
111108
'conditional_fees' => [

0 commit comments

Comments
 (0)