Is SSL connection of plugins default?

No, this is not something that can be guaranteed, setting up an SSL certificate on your own site and using https: for everything does not guarantee that code that calls to other sites will use https or TLS/SSL. Assuming those remote services even support HTTPS or speak HTTP. Your SSL certificate is for securing inbound … Read more

Order Posts Using Taxonomy Term Facetwp [closed]

This answer for taxonomy terms order by “Category Order and Taxonomy Terms Order” plugin. /** * To add extra param for facet query */ add_filter(‘facetwp_query_args’, function ($query_args, $class) { if ($class->ajax_params[‘template’] == ‘partner_posts’) { $tax_terms = get_terms(array( ‘taxonomy’ => ‘your-taxonomy-name’, ‘fields’ => ‘ids’, ‘hide_empty’ => true, )); $query_args[‘tax_query’] = array( array( ‘taxonomy’ => ‘your-taxonomy-name’, ‘terms’ … Read more

Draft standard post by ACF Data picker

This code works perfectly! function delete_expired_posts() { $args = array( ‘post_type’ => ‘post’, ‘meta_query’ => array( array( ‘key’ => ‘fecha_borrado’, ‘compare’ => ‘EXISTS’, ), ), ‘posts_per_page’ => -1, ); $query = new WP_Query($args); if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post(); $post_id = get_the_ID(); $acf_date = get_field(‘fecha_borrado’, $post_id); $acf_timestamp = strtotime($acf_date); $current_timestamp = time(); if ($acf_timestamp … Read more

wp_logout function not executed

I also tested the code on a local sandbox WP and it worked as expected. As Howdy_McGee commented this is probably a conflict with 3rd party code. If disabling theme and plugins is not an option, you can try changing the priority of the actions – i.e. the third parameter to add_action(). By default priority … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)