src/Meta/Box.php
public function determineObject()
    {
        if (isset($_GET['post'])) {
            return $_GET['post'];
        }

        if (isset($_POST['post_ID'])) {
            return $_POST['post_ID'];
        }

        if (isset($_POST['cuztom']['object'])) {
            return $_POST['cuztom']['object'];
        }
    }
public function determineObject()
    {
        if (isset($_GET['post'])) {
            return $_GET['post'];
        }

        if (isset($_POST['post_ID'])) {
            return $_POST['post_ID'];
        }

        if (isset($_POST['cuztom']['object'])) {
            return $_POST['cuztom']['object'];
        }
    }
public function determineObject ( ) { if ( isset ( $ _GET [ 'post' ] ) ) { return $ _GET [ 'post' ] ; } if ( isset ( $ _POST [ 'post_ID' ] ) ) { return $ _POST [ 'post_ID' ] ; } if ( isset ( $ _POST [ 'cuztom' ] [ 'object' ] ) ) { return $ _POST [ 'cuztom' ] [ 'object' ] ; } }
Get object ID.

@return int|null
Get object ID .