projectSelected()

Description

Returns true if a project is being viewed. Useful in layouts to switch content visibility or control menus and the like.

Examples

<?php 
    if ( projectSelected() ) 
    { 
        // Do something... 
    } 
?>