" . __( 'JavaScript must be enabled to use this feature.' ) . "
\n";
echo "
\n";
echo $rows;
echo '
';
}
/**
* Retrieves the parent post object for the given post.
*
* @since 5.7.0
*
* @param int|WP_Post|null $post Optional. Post ID or WP_Post object. Default is global $post.
* @return WP_Post|null Parent post object, or null if there isn't one.
*/
function get_post_parent( $post = null ) {
$wp_post = get_post( $post );
return ! empty( $wp_post->post_parent ) ? get_post( $wp_post->post_parent ) : null;
}
/**
* Returns whether the given post has a parent post.
*
* @since 5.7.0
*
* @param int|WP_Post|null $post Optional. Post ID or WP_Post object. Default is global $post.
* @return bool Whether the post has a parent post.
*/
function has_post_parent( $post = null ) {
return (bool) get_post_parent( $post );
}
Warning: session_start(): Cannot start session when headers already sent in /var/www/vhosts/hayykitap.com/httpdocs/wp-content/themes/hayykitap/functions/support.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/post-template.php:1) in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1768
Fatal error: Uncaught Error: Call to undefined function get_the_title() in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1837
Stack trace:
#0 /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))
#1 /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1187): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request))
#2 /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1034): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/kitap/(?...', Array, NULL)
#3 /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(426): WP_REST_Server->dispatch(Object(WP_REST_Request))
#4 /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/wp/v2/kitap/31...')
#5 /var/www/vhost in /var/www/vhosts/hayykitap.com/httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php on line 1837