@@ -567,6 +567,9 @@ discard block |
||
567 | 567 | return $attr; |
568 | 568 | } |
569 | 569 | |
570 | + /** |
|
571 | + * @param string $html |
|
572 | + */ |
|
570 | 573 | function add_data_to_container( $html ) { |
571 | 574 | global $post; |
572 | 575 | if ( |
@@ -870,6 +873,9 @@ discard block |
||
870 | 873 | return ( 1 == $value ) ? 1 : 0; |
871 | 874 | } |
872 | 875 | |
876 | + /** |
|
877 | + * @param string $name |
|
878 | + */ |
|
873 | 879 | function settings_checkbox( $name, $label_text, $extra_text = '', $default_to_checked = true ) { |
874 | 880 | if ( empty( $name ) ) { |
875 | 881 | return; |
@@ -885,6 +891,9 @@ discard block |
||
885 | 891 | echo '</fieldset>'; |
886 | 892 | } |
887 | 893 | |
894 | + /** |
|
895 | + * @param string $name |
|
896 | + */ |
|
888 | 897 | function settings_select( $name, $values, $extra_text = '' ) { |
889 | 898 | if ( empty( $name ) || ! is_array( $values ) || empty( $values ) ) { |
890 | 899 | return; |