WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change layout/content of direct file page?

[Resolved] Change layout/content of direct file page?

Viewing 1 replies (of 1 total)
  • Plugin Author Tareq Hasan

    @tareq1988

    Yes, that can be done. This snippet can be used for this:

    function cpm_serve_file_denied() {
        echo 'file not found';
        exit;
    }
    
    add_action( 'wp_ajax_nopriv_cpm_file_get', 'cpm_serve_file_denied' );

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Change layout/content of direct file page?’ is closed to new replies.