This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* aggiungo il checkbox privacy in coda di campi di default del form dei commenti | |
* https://www.smashingmagazine.com/2012/05/adding-custom-fields-in-wordpress-comment-form/ | |
* https://codex.wordpress.org/Function_Reference/comment_form | |
*/ | |
add_action( 'comment_form_logged_in_after', 'comment_form_additional_fields' ); | |
add_action( 'comment_form_after_fields', 'comment_form_additional_fields' ); | |
function comment_form_additional_fields() { | |
$commenter = wp_get_current_commenter(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace IFQ\project1; | |
class Project { | |
public function __construct() { | |
printf("Project1\n"); | |
} |
OlderNewer