diff --git a/classes/LBRY_Admin.php b/classes/LBRY_Admin.php index ba9f96b..ed57234 100644 --- a/classes/LBRY_Admin.php +++ b/classes/LBRY_Admin.php @@ -290,42 +290,6 @@ class LBRY_Admin } - /** - * Checkbox to default to always allow publish on LBRY - */ - public function lbry_always_pub_callback() - { - $options = get_option( LBRY_SETTINGS )['lbry_default_publish_setting']; - if ( ! isset( $options ) ) { - $options = 0; - } - $checked = checked( $options, 1, false ); - printf( - '

Set Default to always Publish to LBRY, this can be adjusted when publishing a New Post.

', - 'lbry_default_publish_setting', - LBRY_SETTINGS, - - ); - } - - /** - * Checkbox to default to always allow publish on LBRY - */ - public function lbry_always_pub_callback() - { - $options = get_option( LBRY_SETTINGS )['lbry_default_publish_setting']; - if ( ! isset( $options ) ) { - $options = 0; - } - $checked = checked( $options, 1, false ); - printf( - '

Set Default to always Publish to LBRY, this can be adjusted when publishing a New Post.

', - 'lbry_default_publish_setting', - LBRY_SETTINGS, - - ); - } - /** * Checkbox to default to always allow publish on LBRY */ @@ -374,56 +338,6 @@ class LBRY_Admin

Set Default to always Publish to LBRY, this can be adjusted when publishing a New Post.

', - 'lbry_default_publish_setting', - LBRY_SETTINGS, - - ); - } - - /** - * Prints select to choose a default to publish to channel - */ - public function default_channel_callback() - { - $options = ''; - $channel_list = LBRY()->daemon->channel_list(); - - if ( $channel_list ) { - foreach ( $channel_list as $channel ) { - $selected = $this->options['default_lbry_channel'] === $channel->claim_id; - - $options .= ''; - } - - printf( - '', - 'default_lbry_channel', - LBRY_SETTINGS, - $options - ); - } else { ?> -

Looks like you haven't added any channels yet, you can do that now on the Channels Tab

-