HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/zakra/inc/hooks/hooks.php
<?php

/**
 * Search content.
 *
 * @see zakra_search_content()
 */
add_action( 'zakra_action_search_content', 'zakra_entry_content', 10 );


/**
 * Post read more.
 *
 * @see zakra_entry_content()
 */
add_action( 'zakra_post_readmore', 'zakra_post_readmore', 10 );

/**
 * Get sidebar based on the layout.
 *
 * @see zakra_get_sidebar()
 */
add_filter( 'zakra_get_sidebar', 'zakra_get_sidebar', 10 );

/**
 * Set posts per page for search results.
 *
 * @see zakra_set_posts_per_page()
 */

add_action( 'pre_get_posts', 'zakra_set_posts_per_page', 10 );